[BUG]: Error loading ASGI app. Could not import module "main". #74

Closed
opened 2025-07-08 08:39:21 -04:00 by AtHeartEngineer · 0 comments

Originally created by @simple-it on 5/16/2025

Checklist

  • I have searched existing issues to make sure this bug hasn't already been reported.
  • I have checked the documentation at https://docs.endurain.com and didn't find a solution.

Description

On first run Endurain docker returns this error:

Error loading ASGI app. Could not import module "main".

Expected Behavior

What did you expect to happen?
I expect Endurain docker runs
I ve alse see that the endurain database still empty

Screenshots, logs or files

If applicable, add screenshots, logs or files to help explain your problem. If you do not wish to upload sensitive information to the issue you can send that info to joao@endurain.com.

INFO: UID=1000, GID=1000
INFO: Ownership adjusted for /app/backend/logs
INFO: Ownership adjusted for /app/backend/user_images
INFO: Ownership adjusted for /app/backend/files
INFO: Directory /app/backend/server_images does not exist, skipping.
INFO: Substituting MY_APP_ENDURAIN_HOST with http://192.168.0.208:8084
INFO: Starting FastAPI wih BEHIND_PROXY=false
ERROR:    Error loading ASGI app. Could not import module "main".

Additional Context

Add any other context about the problem here.

*Originally created by @simple-it on 5/16/2025* ## Checklist - [x] I have searched **existing issues** to make sure this bug hasn't already been reported. - [x] I have checked the **documentation** at [https://docs.endurain.com](https://docs.endurain.com) and didn't find a solution. ## Description On first run Endurain docker returns this error: Error loading ASGI app. Could not import module "main". ## Expected Behavior What did you expect to happen? I expect Endurain docker runs I ve alse see that the endurain database still empty ## Screenshots, logs or files If applicable, add screenshots, logs or files to help explain your problem. If you do not wish to upload sensitive information to the issue you can send that info to [joao@endurain.com](joao@endurain.com). ``` INFO: UID=1000, GID=1000 INFO: Ownership adjusted for /app/backend/logs INFO: Ownership adjusted for /app/backend/user_images INFO: Ownership adjusted for /app/backend/files INFO: Directory /app/backend/server_images does not exist, skipping. INFO: Substituting MY_APP_ENDURAIN_HOST with http://192.168.0.208:8084 INFO: Starting FastAPI wih BEHIND_PROXY=false ERROR: Error loading ASGI app. Could not import module "main". ``` ## Additional Context Add any other context about the problem here.
AtHeartEngineer added the bugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbug labels 2025-07-08 08:39:23 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/endurain#74