collectstaticfiles causes error when restarting container #23

Closed
opened 2023-01-08 14:35:15 +00:00 by lukas · 0 comments
Owner
Apply database migrations
Operations to perform:
  Apply all migrations: auth, contenttypes, sessions, tracker
Running migrations:
  No migrations to apply.
Collect static files

Traceback (most recent call last):
  File "/home/timetracker/app/src/web/manage.py", line 22, in <module>
You have requested to collect static files at the destination
location as specified in your settings:

    /home/timetracker/app/src/web/static

This will DELETE ALL FILES in this location!
Are you sure you want to do this?

    main()
  File "/home/timetracker/app/src/web/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 206, in handle
    if input("".join(message)) != "yes":
EOFError: EOF when reading a line
``` Apply database migrations Operations to perform: Apply all migrations: auth, contenttypes, sessions, tracker Running migrations: No migrations to apply. Collect static files Traceback (most recent call last): File "/home/timetracker/app/src/web/manage.py", line 22, in <module> You have requested to collect static files at the destination location as specified in your settings: /home/timetracker/app/src/web/static This will DELETE ALL FILES in this location! Are you sure you want to do this? main() File "/home/timetracker/app/src/web/manage.py", line 18, in main execute_from_command_line(sys.argv) File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line utility.execute() File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv self.execute(*args, **cmd_options) File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute output = self.handle(*args, **options) File "/home/timetracker/.cache/pypoetry/virtualenvs/timetracker-A800c1JI-py3.10/lib/python3.10/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 206, in handle if input("".join(message)) != "yes": EOFError: EOF when reading a line ```
lukas started working 2023-01-08 14:36:18 +00:00
lukas closed this issue 2023-01-08 14:46:24 +00:00
lukas stopped working 2023-01-08 14:46:24 +00:00
10 minutes 7 seconds
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 10 minutes 7 seconds
lukas
10 minutes 7 seconds
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lukas/timetracker#23
No description provided.