Troubleshooting

Here are the encountered issues at the start of 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.
  1. Check first that the PostreSQL port 5432 is not already used by another program.

  2. 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
  1. Check first that the port 8080 is not already used on the machine by another software.

  2. If not, try to restart Docker.

Authentication error

2018-01-23 15:26:39,435 DEBUG [com.amalto.b2auth.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  [com.amalto.b2box.core.impl.platform.manager.PlatformManagerImpl] (qtp1178027755-93) Failed checking for installed publisher profiles.  Assuming there is no connection to b2auth! Msg: No permission for current user (rd+user1@amalto.com) to access this resource. (PlatformManagerImpl.java:175)

Screen shot of the Portal

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.

  1. Start the Platform 6 container.

  2. Enter the container platform6.

    docker exec -it platform6 /bin/sh/
    
  3. View the file application.conf.

    vi /opt/b2box5.data/conf/application.conf
    
  4. Check that the value applicationid is set to your instance id. So in the example above Ondiflo-Developer-2.

  5. Apply the changes by restarting the container platform6.