wger icon indicating copy to clipboard operation
wger copied to clipboard

Wger Docker install through Portainer errors out with: Internal Server Error: /

Open palradu opened this issue 9 months ago • 2 comments

Steps to Reproduce

  1. I only attempted to install wger on docker through Portainer and get the error from the logs below, along with the error in Portainer that: This stack was created outside of Portainer. Control over this stack is limited.
Logs

Can you please check the logs and let me know what I'm doing wrong?

Thank you, Radu

palradu avatar Mar 07 '25 09:03 palradu

I'm adding the logs again, because I see that they weren't added in the initial post:

Defaulting to user installation because normal site-packages is not writeable

Obtaining file:///home/wger/src

Installing build dependencies: started

Installing build dependencies: finished with status 'done'

Checking if build backend supports build_editable: started

Checking if build backend supports build_editable: finished with status 'done'

Getting requirements to build editable: started

Getting requirements to build editable: finished with status 'done'

Installing backend dependencies: started

Installing backend dependencies: finished with status 'done'

Preparing editable metadata (pyproject.toml): started

Preparing editable metadata (pyproject.toml): finished with status 'done'

Building wheels for collected packages: wger

Building editable for wger (pyproject.toml): started

Building editable for wger (pyproject.toml): finished with status 'done'

Created wheel for wger: filename=wger-2.3.0a2-py3-none-any.whl size=17351 sha256=aebaa66990e706dc20d6a8d01aea52931d5352ddba9575632a16ae5530b6d2ec

Stored in directory: /tmp/pip-ephem-wheel-cache-qjpa2h83/wheels/89/63/ff/3e975a91a1d2938a2f2bf90cbf8f0a434e4e94c43d0a28910a

Successfully built wger

Installing collected packages: wger

Attempting uninstall: wger

Found existing installation: wger 2.3.0a2

Uninstalling wger-2.3.0a2:

  Successfully uninstalled wger-2.3.0a2

Successfully installed wger-2.3.0a2

INFO 2025-03-07 11:37:36,119 apps AXES: BEGIN version 7.0.1, blocking by ip_address

Running in production mode, running collectstatic now

INFO 2025-03-07 11:37:37,939 apps AXES: BEGIN version 7.0.1, blocking by ip_address

0 static files copied to '/home/wger/static', 10860 unmodified.

Performing database migrations

INFO 2025-03-07 11:37:43,261 apps AXES: BEGIN version 7.0.1, blocking by ip_address

System check identified some issues:

:

?: (wger.W002) exercises without translations

HINT: There are 1 exercises without translations, this will cause problems! You can output or delete them with "python manage.py exercises-health-check --help"

Operations to perform:

Apply all migrations: actstream, auth, authtoken, axes, config, contenttypes, core, easy_thumbnails, exercises, gallery, gym, mailer, manager, measurements, nutrition, sessions, sites, weight

Running migrations:

No migrations to apply.

Your models in app(s): 'exercises', 'nutrition' have changes that are not yet reflected in a migration, and so won't be applied.

Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

INFO 2025-03-07 11:37:47,507 apps AXES: BEGIN version 7.0.1, blocking by ip_address

System check identified some issues:

:

?: (wger.W002) exercises without translations

HINT: There are 1 exercises without translations, this will cause problems! You can output or delete them with "python manage.py exercises-health-check --help"

Set site URL to [xxxxx]

Using gunicorn...

[2025-03-07 11:37:48 +0200] [44] [INFO] Starting gunicorn 23.0.0

[2025-03-07 11:37:48 +0200] [44] [INFO] Listening at: http://0.0.0.0:8000 (44)

[2025-03-07 11:37:48 +0200] [44] [INFO] Using worker: sync

[2025-03-07 11:37:48 +0200] [45] [INFO] Booting worker with pid: 45

INFO 2025-03-07 11:37:50,407 apps AXES: BEGIN version 7.0.1, blocking by ip_address

ERROR 2025-03-07 11:37:53,109 log Internal Server Error: /

ERROR 2025-03-07 11:38:03,555 log Internal Server Error: /

ERROR 2025-03-07 11:38:13,920 log Internal Server Error: /

ERROR 2025-03-07 11:38:24,095 log Internal Server Error: /

ERROR 2025-03-07 11:38:34,186 log Internal Server Error: /

ERROR 2025-03-07 11:38:44,327 log Internal Server Error: /

ERROR 2025-03-07 11:38:54,459 log Internal Server Error: /

ERROR 2025-03-07 11:39:04,600 log Internal Server Error: /

ERROR 2025-03-07 11:39:14,689 log Internal Server Error: /

palradu avatar Mar 07 '25 09:03 palradu

did you fix this issue? cause i am having the same exact problem (tho i am using docker on ubuntu)

TokumiAlex avatar Jun 06 '25 16:06 TokumiAlex