Skip to content

Bug in the docker image ltbproject/self-service-password ( wrong permissions for /var/www/templates_c ) #1004

@decio-fonini

Description

@decio-fonini

There's a small bug in the docker image (ltbproject/self-service-password 286f57711a09), which prevents SSP from starting:

The /var/www/templates_c directory has the wrong owner/permissions: root:root rwxr--r--

It should be writable by the user www-data, or else the SSP app will not work.

Workaround:

  1. Copy the file /entrypoint.sh from a running container to the host;
  2. Edit the copy, inserting a line like "chown www-data:www-data /var/www/templates_c" at the beginning of the script
  3. Restart the container mapping this file over the original: ... -v :/entrypoint.sh ...
  4. Profit!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions