jlesage / docker-cloudberry-backup

Docker container for CloudBerry Backup (Linux Edition)
MIT License
37 stars 7 forks source link

[Bug] Permission denied when starting cbbLocalManagement #35

Open colinfindlay-nz opened 6 months ago

colinfindlay-nz commented 6 months ago

Current Behavior

First of all - thank you for maintaining these images. They've been amazing! I'm currently seeing the following error on start up

[cbbLocalManagement] [ CBB ] [ 1 ] Error on remove old icon file, path: /opt/local/MSP360 Backup/share/webAccess/img/MainIcon.ico error: Permission denied
[supervisor        ] service 'cbbLocalManagement' failed to be started: not ready after 30000 msec, giving up.

For version

[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           CloudBerry Backup                             │
    │ Application Version:   4.1.5.822                                     │
    │ Docker Image Version:  23.11.2                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯

Expected Behavior

No response

Steps To Reproduce

No response

Environment

Container creation

Running via Helm chart on K3s

Container log

[cont-init   ] 10-openbox.sh: terminated successfully.
[cont-init   ] 10-pkgs-mirror.sh: executing...
[cont-init   ] 10-pkgs-mirror.sh: terminated successfully.
[cont-init   ] 10-set-tmp-dir-perms.sh: executing...
[cont-init   ] 10-set-tmp-dir-perms.sh: terminated successfully.
[cont-init   ] 10-vnc-password.sh: executing...
[cont-init   ] 10-vnc-password.sh: terminated successfully.
[cont-init   ] 10-web-data.sh: executing...
[cont-init   ] 10-web-data.sh: terminated successfully.
[cont-init   ] 10-x11-unix.sh: executing...
[cont-init   ] 10-x11-unix.sh: terminated successfully.
[cont-init   ] 10-xdg-runtime-dir.sh: executing...
[cont-init   ] 10-xdg-runtime-dir.sh: terminated successfully.
[cont-init   ] 15-cjk-font.sh: executing...
[cont-init   ] 15-cjk-font.sh: terminated successfully.
[cont-init   ] 15-install-pkgs.sh: executing...
[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 55-cloudberrybackup.sh: executing...
[cont-init   ] 55-cloudberrybackup.sh: CloudBerry Backup web interface disabled: No user name defined.
[cont-init   ] 55-cloudberrybackup.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
    ╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮
    │                                                                      │
    │ Application:           CloudBerry Backup                             │
    │ Application Version:   4.1.5.822                                     │
    │ Docker Image Version:  23.11.2                                       │
    │ Docker Image Platform: linux/amd64                                   │
    │                                                                      │
    ╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init        ] giving control to process supervisor.
[supervisor  ] loading services...
[supervisor  ] loading service 'default'...
[supervisor  ] loading service 'logrotate'...
[supervisor  ] loading service 'logmonitor'...
[supervisor  ] service 'logmonitor' is disabled.
[supervisor  ] loading service 'app'...
[supervisor  ] loading service 'cbbLocalManagement'...
[supervisor  ] loading service 'gui'...
[supervisor  ] loading service 'certsmonitor'...
[supervisor  ] service 'certsmonitor' is disabled.
[supervisor  ] loading service 'xvnc'...
[supervisor  ] loading service 'openbox'...
[supervisor  ] loading service 'nginx'...
[supervisor  ] loading service 'cbbWebAccess'...
[supervisor  ] service 'cbbWebAccess' is disabled.
[supervisor  ] all services loaded.
[supervisor        ] starting services...
[supervisor        ] starting service 'cbbLocalManagement'...
[cbbLocalManagement] [ CBB ] [ 1 ] Error on remove old icon file, path: /opt/local/MSP360 Backup/share/webAccess/img/MainIcon.ico error: Permission denied
[supervisor        ] service 'cbbLocalManagement' failed to be started: not ready after 30000 msec, giving up.
[supervisor        ] stopping service 'cbbLocalManagement'...
[supervisor        ] sending SIGTERM to all processes...
[supervisor        ] sending SIGKILL to all processes...
[supervisor        ] service 'cbbLocalManagement' exited (got signal SIGKILL).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.

Container inspect

No response

Anything else?

No response

jlesage commented 6 months ago

Is this for a new installation or the problem started suddenly on an existing installation ?

colinfindlay-nz commented 6 months ago

Existing install, been running for at least 2 years. Not sure what version it started happening on though!

On Fri, 23 Feb 2024, 10:26 Jocelyn Le Sage, @.***> wrote:

Is this for a new installation or the problem started suddenly on an existing installation ?

— Reply to this email directly, view it on GitHub https://github.com/jlesage/docker-cloudberry-backup/issues/35#issuecomment-1960342381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLPBRVQNOE7ZZQ4BRDX23YU6ZYLAVCNFSM6AAAAABDR2RHAWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRQGM2DEMZYGE . You are receiving this because you authored the thread.Message ID: @.***>

deanmaunder commented 4 months ago

Apologies for dragging up an old thread, but found this link when I had the same problem, setting the container to privileged mode allowed it to start again.

HTH

image