First run as sudo
onlycparra opened this issue · 2 comments
onlycparra commented
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.
bpatrik commented
Thanks for the note, I'll add it to the Readme
bpatrik commented
I've updated the readme. Closing this.
Thanks for the report.