Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
decio-fonini opened this issue Oct 31, 2024 · 1 comment

Comments

@decio-fonini
Copy link

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!
@decio-fonini
Copy link
Author

Autocorrect ate the brackets in the above message; #3 should read ...-v edited-file:/entrypoint.sh ...

@decio-fonini decio-fonini changed the title Bug in the dockler image ltbproject/self-service-password ( wrong permissions for /varr/www/templates_c ) Bug in the docker image ltbproject/self-service-password ( wrong permissions for /varr/www/templates_c ) Oct 31, 2024
@decio-fonini decio-fonini changed the title Bug in the docker image ltbproject/self-service-password ( wrong permissions for /varr/www/templates_c ) Bug in the docker image ltbproject/self-service-password ( wrong permissions for /var/www/templates_c ) Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant