Immich - permission denied on external library #3902

Closed
opened 2026-02-05 09:26:20 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @sakalko on GitHub (Jul 18, 2024).

The bug

I am trying to get the External Library in Immich working, but no success due to permission issues.

Can you please advise?

The OS that Immich Server is running on

Ubuntu 24.04 LTS

Version of Immich Server

v1.107.2

Version of Immich Mobile App

n/a

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

do not have one

Your .env content

n/a

Reproduction steps

System info:


Ubuntu 24.04 LTS
immich-distribution  v1.107.2

Test folder and pictures with full permissions:

root@priv-immich:/home# ls -lad test; ls -la test
drwxrwxrwx 2 root root 4 Jul 18 11:29 test
total 1426
drwxrwxrwx 2 root root      4 Jul 18 11:29 .
drwxr-xr-x 7 root root      7 Jul 18 11:53 ..
-rwxrwxrwt 1 root root 712296 Jul 18 10:52 pca.png
-rwxrwxrwt 1 root root 712296 Jul 18 11:29 pce.jpg


### Relevant log output

```shell
Syslog shows:




2024-07-18T11:58:18.032421+02:00 priv-immich immich-distribution.immich-server[1105]: #033[32m[Nest] 1105  - #033[39m07/18/2024, 11:58:18 AM #033[32m    LOG#033[39m #033[33m[Microservices:LibraryService]#033[39m #033[32mRefreshing library: 7f133d34-326a-4680-8c92-585ecb40f531#033[39m
2024-07-18T11:58:18.047682+02:00 priv-immich immich-distribution.immich-server[1105]: #033[31m[Nest] 1105  - #033[39m07/18/2024, 11:58:18 AM #033[31m  ERROR#033[39m #033[33m[Microservices:JobService]#033[39m #033[31mUnable to run job handler (library/library-refresh): Error: EACCES: permission denied, scandir '/home/test'#033[39m
2024-07-18T11:58:18.048654+02:00 priv-immich immich-distribution.immich-server[1105]: #033[31m[Nest] 1105  - #033[39m07/18/2024, 11:58:18 AM #033[31m  ERROR#033[39m #033[33m[Microservices:JobService]#033[39m #033[31mError: EACCES: permission denied, scandir '/home/test'#033[39m
2024-07-18T11:58:18.048797+02:00 priv-immich immich-distribution.immich-server[1105]: #033[31m[Nest] 1105  - #033[39m07/18/2024, 11:58:18 AM #033[31m  ERROR#033[39m #033[33m[Microservices:JobService]#033[39m #033[31mObject:#033[39m


### Additional information

_No response_
Originally created by @sakalko on GitHub (Jul 18, 2024). ### The bug I am trying to get the External Library in Immich working, but no success due to permission issues. Can you please advise? ### The OS that Immich Server is running on Ubuntu 24.04 LTS ### Version of Immich Server v1.107.2 ### Version of Immich Mobile App n/a ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML do not have one ``` ### Your .env content ```Shell n/a ``` ### Reproduction steps ```bash System info: Ubuntu 24.04 LTS immich-distribution v1.107.2 ``` Test folder and pictures with full permissions: ``` root@priv-immich:/home# ls -lad test; ls -la test drwxrwxrwx 2 root root 4 Jul 18 11:29 test total 1426 drwxrwxrwx 2 root root 4 Jul 18 11:29 . drwxr-xr-x 7 root root 7 Jul 18 11:53 .. -rwxrwxrwt 1 root root 712296 Jul 18 10:52 pca.png -rwxrwxrwt 1 root root 712296 Jul 18 11:29 pce.jpg ``` ``` ### Relevant log output ```shell Syslog shows: 2024-07-18T11:58:18.032421+02:00 priv-immich immich-distribution.immich-server[1105]: #033[32m[Nest] 1105 - #033[39m07/18/2024, 11:58:18 AM #033[32m LOG#033[39m #033[33m[Microservices:LibraryService]#033[39m #033[32mRefreshing library: 7f133d34-326a-4680-8c92-585ecb40f531#033[39m 2024-07-18T11:58:18.047682+02:00 priv-immich immich-distribution.immich-server[1105]: #033[31m[Nest] 1105 - #033[39m07/18/2024, 11:58:18 AM #033[31m ERROR#033[39m #033[33m[Microservices:JobService]#033[39m #033[31mUnable to run job handler (library/library-refresh): Error: EACCES: permission denied, scandir '/home/test'#033[39m 2024-07-18T11:58:18.048654+02:00 priv-immich immich-distribution.immich-server[1105]: #033[31m[Nest] 1105 - #033[39m07/18/2024, 11:58:18 AM #033[31m ERROR#033[39m #033[33m[Microservices:JobService]#033[39m #033[31mError: EACCES: permission denied, scandir '/home/test'#033[39m 2024-07-18T11:58:18.048797+02:00 priv-immich immich-distribution.immich-server[1105]: #033[31m[Nest] 1105 - #033[39m07/18/2024, 11:58:18 AM #033[31m ERROR#033[39m #033[33m[Microservices:JobService]#033[39m #033[31mObject:#033[39m ``` ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#3902