9.x to 10.x¶
As containers are now executed with a non-privileged user, data stored in default octoperf-data files ownership must be adjusted accordingly. (otherwise the data is not readable / writable)
How to fix file ownership:
- Upgrade to 10.x first,
- Start the Enterprise Edition via
docker-compose, - List containers using
docker ps, and get container id ofenterprise-editioncontainer, - Execute as root inside this container:
docker exec -it -u root CONTAINER_ID /bin/bash
- Then, chown all
octoperf-datavolume files tooctoperfuser:
chown -R octoperf:octoperf /data
The command ls -al should list all files with octoperf user and octoperf group.
root@CONTAINER_ID:~# ls -al
total 104228
drwxr-xr-x 1 octoperf octoperf 4096 .
drwxr-xr-x 1 root root 4096 ..
-rw------- 1 octoperf octoperf 221 .bash_history
drwxrwxr-x 2 octoperf octoperf 4096 config
drwxr-xr-x 4 octoperf octoperf 4096 data
-rw-r----- 1 octoperf octoperf 106689614 enterprise-edition.jar
-rwxr-x--- 1 octoperf octoperf 102 entrypoint.sh
drwxr-xr-x 4 octoperf octoperf 4096 license