Closed gbjbaaha closed 6 years ago
Confirmed! Thanks for reporting.
It looks that the problem is with the new use of the --config parameter. In the previous dockers once you use the ARANGO_STORAGE_ENGINE=rocksdb the entrypoint script changed the /etc/arangodb3/arangod.conf directly. But now (in version 3.3.10 and 3.3.11) the entrypoint first copies the arangod.conf file to a temporary location, changes it there, and then pass it as an argument to the arangod command using --config. It seems that if you change it back to the previous implementation it works fine.
Please try again now. I have fixed the problem and submitted a PR to the official Docker images which was merged by now. This should be fixed in 3.3.10 and 3.3.11 now as well as in our nightly preview images.
Just checked Docker Hub (https://hub.docker.com/r/arangodb/arangodb/tags) and 3.3.11 still showing as 7 days ago. Can you confirm that this new image has indeed been pushed up to the hub?
Hi,
If I get that correctly this patch was only applied to _/arangodb
at the time being.
Hi, OK. Do you know when the updated version will get pushed onto Docker Hub? As requested, as soon as this new image is available I will be happy to test it and report back via this issue. Thanks
Sorry, I was not aware that ths push is not automatic, therefore this was delayed. I have just updated the images
arangodb/arangodb:3.3.10
arangodb/arangodb:3.3.11
arangodb/arangodb:latest
with a fixed version. Unfortunately, arangodb
the official one seems to take longer. My PR was merged 3 days ago and the update should be automatic...Pulled both 3.3.11 and 3.3.10 tags and re-tested. Happy to report that all now seems good 👍 Many thanks for the quick fix.
I believe the Docker image post version 3.3.9 (so 3.3.10 and 3.3.11) is broken when you elect to initialise a new database using storage option "rocksdb".
Here is my test case:-
Base O/S = Ubuntu 18.04 or OSX 10.13.5 Docker version = 18.03.1-ce Docker Compose version = 1.21.1
I am using Docker Compose, but I see the same results if I use the basic "docker run" style command to pull and start the containers.
Create a Docker compose file referencing version 3.3.9 as follows:-
Ensure that the volume directories mapped do not exist prior to the test. Start up the container with "docker-compose up" This works as expected.
Change the version of ArangoDB to 3.3.10 or 3.3.11. Change the volume directories to point to a new set of empty directories to avoid any confusion. Here is the revised test:-
Start up the container with "docker-compose up" This fails.
Here is output from my working 3.3.9 test:-
And here is the output from my failing 3.3.11 test:-