mriedmann / humhub-docker

Alpine-based PHP-FPM and NGINX HumHub docker-container
MIT License
95 stars 79 forks source link

profile_image #301

Closed GregLeonhardt closed 1 year ago

GregLeonhardt commented 1 year ago

On initial startup I get an error message stating that directory 'uploads/profile_image' does not have the proper permissions. When the directory simply does not exist. Creating the directory is complicated because the permissions of the uploads directory have been changed. I have to manually create the directory then change it's permissions to get past the initial inspection page.

mriedmann commented 1 year ago

Hi! Can you please add the docker-compose you are using? Are you using x86 Linux with Docker or some else (like WSL or Podman)?

GregLeonhardt commented 1 year ago

version: '3.1' services:

db: container_name: db restart: unless-stopped image: mariadb:10.9.4 environment: MYSQL_ROOT_PASSWORD: root MYSQL_DATABASE: HumHub MYSQL_USER: HumHub MYSQL_PASSWORD: {REDACTED} volumes:

GregLeonhardt commented 1 year ago

There is more to it. I was getting a lot of error messages on the console. They all were because of an inability to open a file for this or that. Every time I went to look the files were present but they were all owned by root. After doing globally changing ownership all these problems went away.

From inside the humhub container: chown -R ngnix:ngnix /var/www/localhost/htdocs

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.