Skip to content

PGID and PUID not change #63

@rayqusa

Description

@rayqusa

Issue filing prerequisites

  • I've checked the documentation.
  • I've looked for similar issues both Open and Closed.
  • I've tried clearing both cache and cookies in my browser or tried opening the app in the Incognito/InPrivate window.

Describe the bug

I am using Synology NAS, I need to change PUID: 1026 and PGID: 100 so it can create a file and folder. I have declare on environment but it seem not changed

Steps to Reproduce the issue

deploy on synology NAS with PUID and PGID into 1026 and 100

the PUID and PGID not changed

here is my docker compose

services:
invoiceshelf:
image: invoiceshelf/invoiceshelf:nightly
container_name: InvPondokBibit
hostname: invpondokbibit
networks:
- postgre_rayqusa
ports:
- 9055:80
volumes:
- /volume2/docker/inv/storage:/var/www/html/storage:rw
- /volume2/docker/inv/modules:/var/www/html/Modules:rw
environment:
PHP_TZ: Asia/Jakarta
TIMEZONE: Asia/Jakarta
PUID: "1026"
PGID: "100"
APP_NAME: invpondokbibit
APP_KEY: redacted
APP_ENV: production
APP_DEBUG: false
APP_URL: https://inv.davidmafazi.com
DB_CONNECTION: pgsql
DB_HOST: 172.172.172.100
DB_PORT: 5432
DB_DATABASE: inv
DB_USERNAME: inv
DB_PASSWORD: redacted
DB_PASSWORD_FILE: redacted
CACHE_STORE: file
SESSION_DRIVER: file
SESSION_LIFETIME: 240
SESSION_ENCRYPT: false
SESSION_PATH: /
SESSION_DOMAIN: inv.davidmafazi.com
SANCTUM_STATEFUL_DOMAINS: inv.davidmafazi.com
STARTUP_DELAY: 5
TRUSTED_PROXIES: "*"
restart: always

networks:
postgre_rayqusa:
external: true

Expected behaviour

it should change PGID and PUID

Actual behaviour

it is not change PGID and PUID, hence, cant create folder

Docker

  • App running in Docker Container.
  • Docker container running behind Reverse proxy.

InvoiceShelf version

nightly

PHP version

as docker

Database type

pgsql

Database version

as docker

Web Browser

safari

Server OS

MacOS

Reverse-proxy logs


Laravel/PHP logs


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions