Closed serbulent-av closed 11 months ago
I think the issue might cause from;
can not modify /etc/nginx/conf.d/default.conf
part however I also assume this indicates docker file system not the instance that I run docker on.
You need to run docker compose from the docker-compose folder. There are a couple files there that need to be mounted into the container, including the nginx.conf.
Thanks for your answer. However, I'm already running it from docker-compose folder as;
myuser@mmseqs2-server:~/MMseqs2-App/docker-compose$ docker-compose up
In the logs of the web-api-container I found this;
panic: Key: 'ParamsDisplayV1.Status' Error:Field validation for 'Status' failed on the 'required' tag
Key: 'ParamsDisplayV1.Display.Name' Error:Field validation for 'Name' failed on the 'required' tag
Key: 'ParamsDisplayV1.Display.Path' Error:Field validation for 'Path' failed on the 'required' tag
goroutine 36 [running]:
main.server.func1()
/opt/build/server.go:44 +0x1dc
created by main.server in goroutine 1
/opt/build/server.go:41 +0x119
Btw. redis service seems ok;
1:C 05 Dec 2023 14:13:55.314 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 1:C 05 Dec 2023 14:13:55.314 oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 05 Dec 2023 14:13:55.314 Redis version=7.2.3, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 05 Dec 2023 14:13:55.314 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 1:M 05 Dec 2023 14:13:55.315 monotonic clock: POSIX clock_gettime 1:M 05 Dec 2023 14:13:55.315 Running mode=standalone, port=6379. 1:M 05 Dec 2023 14:13:55.316 Server initialized 1:M 05 Dec 2023 14:13:55.317 Loading RDB produced by version 7.2.3 1:M 05 Dec 2023 14:13:55.317 RDB age 3093 seconds 1:M 05 Dec 2023 14:13:55.317 RDB memory usage when created 0.92 Mb 1:M 05 Dec 2023 14:13:55.317 Done loading RDB, keys loaded: 0, keys expired: 0. 1:M 05 Dec 2023 14:13:55.317 DB loaded from disk: 0.000 seconds 1:M 05 Dec 2023 14:13:55.317 * Ready to accept connections tcp
I tried to reproduce your issue, but it seems to work correctly here. Please delete any existing database/jobs folder and shutdown the current docker-compose setup with
docker-compose down
Make sure to update again:
docker-compose pull
Then download the PDB again:
docker-compose run db-setup PDB
Then start everything:
docker-compose up
The server should now run on the default port (set in the .env
file) 8877.
Thanks again Milot. I'm able run it after starting with a fresh system and install docker with;
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
Also you need to add your user to the docker group
sudo usermod -aG docker $USER
finally as an update to the documentation in the latest version there is no standalone docker-compose exits instead it runs as
docker compose COMMAND
As a note I have encountered with another error but a separate ticket will be better for it.
When I try to run the server using "docker-compose up" I get the error as following;