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

Errors with the access rights. #45

Closed
1 task done
ipod86 opened this issue Aug 24, 2024 · 5 comments
Closed
1 task done

Errors with the access rights. #45

ipod86 opened this issue Aug 24, 2024 · 5 comments

Comments

@ipod86
Copy link

ipod86 commented Aug 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hello,

I have just installed projectsend with docker compose. Unfortunately there are errors with the access rights. What could this be?

version: "2.1"
services:
  projectsend:
    image: linuxserver/projectsend:latest
    container_name: projectsend
    environment:
      - PUID=998
      - PGID=100
      - TZ=Europe/Berlin
      - MAX_UPLOAD=5000
    volumes:
      - ./config:/config 
      - ./data:/data
    ports:
      - 88:80
    restart: unless-stopped
  db:
    image: mariadb:latest
    container_name: mariadb-projectsend
    environment:
      MYSQL_ROOT_PASSWORD: projectsend
      MYSQL_DATABASE: projectsend
      MYSQL_USER: projectsend
      MYSQL_PASSWORD: projectsend
    volumes:
      - ./sql:/var/lib/mysql 

    restart: unless-stopped

Screenshot_20240824_114157_Chrome

Expected Behavior

Run my docker compose

Steps To Reproduce

Run my docker compose

Environment

Debian 12
Compose with Portainer

CPU architecture

x86-64

Docker creation

My docker compose in Portainer

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    998
User GID:    100
───────────────────────────────────────
Linuxserver.io version: r1720-ls204
Build-date: 2024-08-19T21:29:51+00:00
───────────────────────────────────────
    
using keys found in /config/keys
New container detected. Setting up app folder and fixing permissions.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

We symlink those dir's to the /data volume. If you don't have the correct permissions/ownership on that folder, it will error:

@ipod86
Copy link
Author

ipod86 commented Aug 24, 2024

Can you tell me how I check the permissions on the docker host? But compose works like this?

EDIT

Now I have

  • PUID=1000
  • PGID=1000.
  • This is how it works

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Nov 24, 2024
@LinuxServer-CI
Copy link
Contributor

This issue is locked due to inactivity

@linuxserver linuxserver locked as resolved and limited conversation to collaborators Dec 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

No branches or pull requests

3 participants