Starting in BSUS 25.2.2, the application runs the Portal container as a non-root user, with the UID and GID 9000, and validates write access to all mounted paths at start up.
During an upgrade, existing Docker volumes may be owned by the
root user
or another UID, causing the Portal container to enter a restart loop with errors similar
to the following:No access to folder 'logs'No access to folder 'bluecat_gateway'
To resolve this issue, use one of the following methods:
Upgrading to BSUS v25.2.2 from versions earlier than 25.2
- Stop the BSUS container using the following
command:
docker-compose down - Update the ownership and permissions of the directory to the non-root user
using the following
command:
sudo chown -R 9000:9000 /var/lib/docker/volumes/bsus_portal_logs/_data - Start the BSUS container using the following
command:
docker-compose up -d
Upgrading to BSUS v25.2.2 from versions 25.2 and 25.2.1
- Stop the BSUS container using the following
command:
docker-compose down - Update the ownership and permissions of the directory to the non-root user
using the following
command:
sudo chown -R 9000:9000 /var/lib/docker/volumes/bsus_portal_logs/_data - Update the volume mapping in the
docker-compose.ymlfile with the following changes:- Update the mapping from
bluecat_portal:/portal/bluecat_portal/tobluecat_portal:/bluecat_gateway - For the
bluecat_portalvolume, avoid definingexternal: true, as a new volume must be created.
- Update the mapping from
- Remove existing volumes that cause issues using the following
commands:
docker volume ls | grep -E '(bsus|dist)_bluecat_portal' docker volume rm <bsus_bluecat_portal or dist_bluecat_portal>Important: This volume stores Gateway configurations created through the UI including uploaded certificates, Address Manager settings, interface preferences, logging configurations, and additional customizations.Updating or recreating this volume removes all Gateway configuration data stored in it. If you uploaded any certificates through the UI, you must re-upload them after the change. For more information, refer to Configuring Certificates settings.
- Start the BSUS container using the following
command:
docker-compose up -d