Skip to content

sudo: './install.sh': command not found - install error #54

Description

@sunalive

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions