This guide contains instructions to upgrade from version v7.0.0-alpha1 to v7.0.0-alpha2.
Before you start, don't forget to take a look at general instructions about upgrading. There you can find links to upgrade notes for other versions too.
- check changes in the
docker-compose.yml
template you used, there were a couple of important changes you need to replicate- easiest way is to overwrite your
docker-compose.yml
with by the appropriate template
- easiest way is to overwrite your
- on *nix systems, fill your UID and GID (you can run
id -u
andid -g
to obtain them) into Docker build argumentswww_data_uid
andwww_data_gid
and rebuild your image viadocker-compose up --build
- change owner of the files in shared volume to
www-data
from the container by runningdocker exec -u root shopsys-framework-php-fpm chown -R www-data /var/www/html
- the user has shared UID, so you will be able to access it as well from the host machine
- shared volume with postgres data should be owned by
postgres
user:docker exec -u root shopsys-framework-php-fpm chown -R postgres /var/www/html/var/postgres-data
- if you were using a mounted volume to share Composer cache with the container, change the target directory from
/root/.composer
to/home/www-data/.composer
- in such case, you should change the owner as well by running
docker exec -u root shopsys-framework-php-fpm chown -R www-data /home/www-data/.composer
- in such case, you should change the owner as well by running