collectstaticfiles causes error when restarting container #23
lukas
commented 2023-01-08 14:35:15 +00:00
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
```
lukas
started working 2023-01-08 14:36:18 +00:00
lukas
referenced this issue from a commit 2023-01-08 14:39:18 +00:00
Fix collectstaticfiles causing error when restarting container
lukas
referenced this issue from a commit 2023-01-08 14:46:24 +00:00
Fix collectstaticfiles causing error
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
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?