Fapflix2.0 icon indicating copy to clipboard operation
Fapflix2.0 copied to clipboard

Docker error while trying to build

Open MaxtronGaming opened this issue 2 years ago • 4 comments

When trying to execute the make build command, i get this error:

ERROR: The Compose file './docker-compose.yml' is invalid because: volumes.db-data value Additional properties are not allowed ('name' was unexpected) volumes.media-volume value Additional properties are not allowed ('name' was unexpected) volumes.ml-volume value Additional properties are not allowed ('name' was unexpected) volumes.static-previews value Additional properties are not allowed ('name' was unexpected) volumes.static-thumbnails value Additional properties are not allowed ('name' was unexpected) make: *** [Makefile:4: build] Error 1

Docker version: 20.10.9 Docker-compose version: 1.21.0 OS: Debian 10

MaxtronGaming avatar Oct 22 '21 19:10 MaxtronGaming

After commenting out the following lines i get a new error grafik

/usr/local/lib/python3.7/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.  """)
bash: line 1:     8 Illegal instruction     (core dumped) python manage.py makemigrations

MaxtronGaming avatar Oct 22 '21 20:10 MaxtronGaming

Does the error appear in the running container or do you get it running make all?

EinAeffchen avatar Oct 26 '21 06:10 EinAeffchen

Sorry forgot to mention that the second error happens when I try to run the stack. I narrowed it down to the django container.

MaxtronGaming avatar Oct 26 '21 10:10 MaxtronGaming

worked for me after commenting the lines said by @ MaxtronGaming

SHx7ejs7fCrP avatar Oct 30 '21 05:10 SHx7ejs7fCrP