Skip to content

First run as sudo #115

@onlycparra

Description

@onlycparra

Describe the bug
I couldn't run the server once installed, the problem was that it uses the port 80, which is only usable by root. Therefore, I had to run it as sudo sudo npm start. Go to pigallery2 settings, toggle the "advanced" switch, change the port (to 8080, for example) and restart the server. Now it can run as normal user.

Maybe this detail can be mentioned in the instructions.

Environment:

  • HW: Raspberry Pi 3 B+
  • OS: clean installation of "Raspbian Buster with desktop", release 2019-09-26. Updated to the date of the post.

Used app version:

  • from release v1.70, following the installation instructions of the repository.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions