-
Notifications
You must be signed in to change notification settings - Fork 407
ModuleNotFoundError: No module named 'app.models.password_reset_token' #229
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Pre-checks
- I have searched existing issues and this is not a duplicate.
Deployment Method
Docker
Steps to Reproduce
- docker-compose build
- docker-compose up -d
- backend container report :ModuleNotFoundError: No module named 'app.models.password_reset_token'
Expected vs Actual Behavior
Expected: backend running without exit
Actual:
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "<stdin>", line 26, in main
ModuleNotFoundError: No module named 'app.models.password_reset_token'
[entrypoint] Detected root user, fixing permissions...
[entrypoint] Dropping privileges to 'clawith' and re-executing...
[entrypoint] Step 1: Creating/verifying database tables...
Traceback (most recent call last):
File "<stdin>", line 78, in <module>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 195, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "<stdin>", line 26, in main
ModuleNotFoundError: No module named 'app.models.password_reset_token'Logs / Screenshots
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "<stdin>", line 26, in main
ModuleNotFoundError: No module named 'app.models.password_reset_token'
[entrypoint] Detected root user, fixing permissions...
[entrypoint] Dropping privileges to 'clawith' and re-executing...
[entrypoint] Step 1: Creating/verifying database tables...
Traceback (most recent call last):
File "<stdin>", line 78, in <module>
File "/usr/local/lib/python3.12/asyncio/runners.py", line 195, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 691, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "<stdin>", line 26, in main
ModuleNotFoundError: No module named 'app.models.password_reset_token'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working