When I try to install I get this error sudo: './install.sh': command not found. I clone the repo, change to root user and run the ./install.sh command. It creates the folder in /var/lib/immich and changes to user immich but fails to execute the ./install.sh as the immich user.
Below is all the messages I see on the terminal.
root@server:/home/serveruser/immich-native# ./install.sh
+ REV=v3.1.0
+ IMMICH_PATH=/var/lib/immich
+ APP=/var/lib/immich/app
+ command -v pnpm
+ export NODE_OPTIONS=--max-old-space-size=4096
+ NODE_OPTIONS=--max-old-space-size=4096
+ [[ root != immich ]]
+ systemctl list-unit-files --type=service
+ grep '^immich'
+ read i unused
+ true
+ mkdir -p /var/lib/immich
+ chown immich:immich /var/lib/immich
+ mkdir -p /var/log/immich
+ chown immich:immich /var/log/immich
+ echo 'Forking the script as user immich'
Forking the script as user immich
+ sudo -u immich ./install.sh
sudo: './install.sh': command not found
What am I missing?
Thanks in advance.
When I try to install I get this error
sudo: './install.sh': command not found. I clone the repo, change to root user and run the./install.shcommand. It creates the folder in /var/lib/immich and changes to user immich but fails to execute the./install.shas the immich user.Below is all the messages I see on the terminal.
What am I missing?
Thanks in advance.