Installation troubleshooting
Here are the issues that can be encountered when starting Platform 6.
Cannot start service pgsql¶
ERROR: for 098209f460b4_pgsql  Cannot start service pgsql: driver failed programming external connectivity on endpoint pgsql (c9a4f69f7c21fcb70656a214418086c039c40e993c6205eefaf5a548e3911445): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:5432:tcp:172.18.0.2:5432: input/output error
ERROR: for pgsql  Cannot start service pgsql: driver failed programming external connectivity on endpoint pgsql (c9a4f69f7c21fcb70656a214418086c039c40e993c6205eefaf5a548e3911445): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:5432:tcp:172.18.0.2:5432: input/output error
ERROR: Encountered errors while bringing up the project.
- 
Check first that the PostreSQL port 5432is not already used by another program.
- 
If not, try to restart Docker. 
Cannot start service platform6¶
ERROR: for platform6 Cannot start service platform6: driver failed programming external connectivity on endpoint platform6
ERROR staring userland proxy: Bind for 0.0.0.0:8080: unexpected error Permission denied
- 
Check first that the port 8080is not already used on the machine by another software.
- 
If not, try to restart Docker. 
Authentication error¶
2018-01-23 15:26:39,435 DEBUG [io.platform6.p6auth.core.provider.scope.OAuthScope] (qtp1178027755-97) Has Permission(Ondiflo-Developer-2,home,read): false (OAuthScope.java:91)
2018-01-23 15:26:40,076 WARN  [io.platform6.p6core.core.impl.platform.manager.PlatformManagerImpl] (qtp1178027755-93) Failed checking for installed publisher profiles.  Assuming there is no connection to p6auth! Msg: No permission for current user (rd+user1@amalto.com) to access this resource. (PlatformManagerImpl.java:175)
     
If you have any issue with the authentication, check that your application ID is correctly set in your instance settings.
Note
You can use the install scripts to start/stop your platform6 container. 
- 
Go to your instance’s data root folder (defined in the .env file). View the file application.conf.vi p6core.data/conf/application.conf
- 
Check that the value instance.idis set to your instance id. It is most likely a UUID, however in the example above it’sOndiflo-Developer-2.
- 
Apply the changes if necessary by restarting the container platform6.