SonarSoftwareInc / customer_portal

A prebuilt customer portal for Sonar.
https://sonar.software
25 stars 52 forks source link

Unable to rerun install script #71

Closed chacken closed 4 years ago

chacken commented 4 years ago

FYI, it's impossible to rerun the installation script without rebuilding the entire VM/server.

Starting customer_portal_certbot_1 ... Starting customer_portal_watchtower_1 ... done Starting customer_portal_redis_1 ... done Recreating sonar-customerportal ... error Starting customer_portal_certbot_1 ... done ERROR: for sonar-customerportal Cannot create container for service app: invalid volume specification: '14e49784229073da03b522ea1bec0b0616b18adf3e579085ef6f015de4f8b14e:[/var/www/html/storage]:rw': invalid mount config for type "volume": invalid mount path: '[/var/www/html/storage]' mount path must be absolute

ERROR: for app Cannot create container for service app: invalid volume specification: '14e49784229073da03b522ea1bec0b0616b18adf3e579085ef6f015de4f8b14e:[/var/www/html/storage]:rw': invalid mount config for type "volume": invalid mount path: '[/var/www/html/storage]' mount path must be absolute ERROR: Encountered errors while bringing up the project. root@sonar-portal:~/customer_portal#

zulandar commented 4 years ago

@chacken if you run docker-compose down -v and then rerun the install script it should work for you.

chacken commented 4 years ago

I tried that prior to posting this and it didn't work.

zulandar commented 4 years ago

Okay, can you attempt this steps;

docker-compose down -v docker system prune

docker volume ls Check to see if you see customerportal_storage anywhere. If so perform docker volume rm customerportal_storage

Then kick off the install script.