You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in #1622 I have some issues with the docker-image. As I was now able to build the image myself (from git @ tag v0.18.2) and continued in the start process (using the docker-compose file), I ended up with the following error and docker stopping the container:
<class 'rest_framework.authtoken.admin.TokenAdmin'>: (admin.E039) An admin for model "myuser" has to be registered to be referenced by TokenAdmin.autocomplete_fields.
Full docker-log (only oeplatform, postgres was started before):
oeplatform_1 | Checking for Configuration
oeplatform_1 | File /app/oeplatform/securitysettings.py does not exist, copying default configuration.
oeplatform_1 | Migrating Databases...
oeplatform_1 | Migrating Django database...
oeplatform_1 | SystemCheckError: System check identified some issues:
oeplatform_1 |
oeplatform_1 | ERRORS:
oeplatform_1 | <class 'rest_framework.authtoken.admin.TokenAdmin'>: (admin.E039) An admin for model "myuser" has to be registered to be referenced by TokenAdmin.autocomplete_fields.
oep_oeplatform_1 exited with code 1
Steps to Reproduce
Build docker image
docker-compose up
Ideas of solution
Default configuration data should fulfill the given requirement?
Context and Environment
Version used: v0.18.2 (self-build docker image based on git @v0.18.2)
I updated the docker image build workflow because it was pointing to a fixed & very outdated version of the oeplatform. I will fix this within the next few days.
By fixing the version at 3.14, djangorestframework==3.14, and re-building the docker container, the init works and the server runs.
So really seems like the problem is version 3.15 of that lib and the issue you linked in the comment.
Description of the issue
As described in #1622 I have some issues with the docker-image. As I was now able to build the image myself (from git @ tag v0.18.2) and continued in the start process (using the docker-compose file), I ended up with the following error and docker stopping the container:
Full docker-log (only oeplatform, postgres was started before):
Steps to Reproduce
Ideas of solution
Default configuration data should fulfill the given requirement?
Context and Environment
Workflow checklist
The text was updated successfully, but these errors were encountered: