Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First run as sudo #115

Closed
onlycparra opened this issue Dec 27, 2019 · 2 comments
Closed

First run as sudo #115

onlycparra opened this issue Dec 27, 2019 · 2 comments
Milestone

Comments

@onlycparra
Copy link

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
Copy link
Owner

bpatrik commented Dec 27, 2019

Thanks for the note, I'll add it to the Readme

@bpatrik bpatrik added this to the v1.8 milestone Dec 27, 2019
@bpatrik
Copy link
Owner

bpatrik commented Dec 29, 2019

I've updated the readme. Closing this.
Thanks for the report.

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

No branches or pull requests

2 participants