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

error on install of allsky #658

Closed
kenkolen-neal opened this issue Oct 15, 2021 · 17 comments · Fixed by #688
Closed

error on install of allsky #658

kenkolen-neal opened this issue Oct 15, 2021 · 17 comments · Fixed by #688
Assignees
Labels
bug Needs software change question User has question; may turn into bug or enhancement

Comments

@kenkolen-neal
Copy link

This is a new raspberry pi device. I updated operating system update and an update of sudo.
I did a clean install of allsky and I can see install.sh in the directory.
I run sudo ./install.sh and I receive an error message "This script must NOT be run as root"

@maserowik
Copy link

@kenkolen-neal
That is correct the developers change the install to not run the main AllSky as root.
if you install the Admin gui you still need to install it as root

@kenkolen-neal
Copy link
Author

kenkolen-neal commented Oct 15, 2021 via email

@maserowik
Copy link

@kenkolen-neal

https://github.com/thomasjacquin/allsky/wiki/08-How-to-update-the-software

once you are on that page go to the section called

Install "allsky" package
then do the
install"allsky-portal package.

Mike

@EricClaeys
Copy link
Collaborator

@kenkolen-neal, @maserowik is correct that installing allsky no longer requires sudo. Step 4 on the main page says to execute ./install.sh. I will take a look at Patriot Astro instructions - we may not need to reference them anymore since they are somewhat out of date and in my opinion the Wiki should be sufficient.

If you're able to install the software after looking at the Wiki would you please close this Issue?

@EricClaeys EricClaeys self-assigned this Oct 15, 2021
@EricClaeys EricClaeys added bug Needs software change question User has question; may turn into bug or enhancement labels Oct 15, 2021
@kenkolen-neal
Copy link
Author

kenkolen-neal commented Oct 15, 2021 via email

@maserowik
Copy link

@kenkolen-neal
when you installed the admin gut there should have be a message stating the dns name and the ip address
if you can us a tool like angry ip or look inside your router
once you obtain the ip address open it in a web browser of you choice and enter the following //ip address. in my setting I would enter //192.168.1.20 to get access to the web interface.

mike

@kenkolen-neal
Copy link
Author

kenkolen-neal commented Oct 18, 2021 via email

@EricClaeys
Copy link
Collaborator

EricClaeys commented Oct 18, 2021

@kenkolen-neal,
How did you install the software initially? You had to have been on the Pi somehow, either in via a monitor and keyboard, or via a remote interface like ssh or VNC client.
Use that same method to edit the `/home/pi/allsky/config/config.sh file, setting the CAMERA variable at the top to either ZWO or RPiHQ.

When prompted for your password using ssh, it won't display the characters you are typing or even a "*" like wesites do. When done entering the password just hit the Enter key.

@kenkolen-neal
Copy link
Author

kenkolen-neal commented Oct 18, 2021 via email

@EricClaeys
Copy link
Collaborator

@kenkolen-neal ,
We will get you working so you can enjoy your images. Thanks for holdind in there.
You need to EDIT /home/pi/allsky/config/config.sh, not EXECUTE it. That's why you got the Permission Denied message - the file is not executable.

To edit the file:

cd ~/allsky
nano config/config.sh

There are multiple passwords. One is for the "pi" login. I thought you were required to set up a password when you installed the operating system, but if you got an SD card with the operating system already installed I'm not sure what it does.
The second password is for the administrator Web User Interface page, which is usually http://allsky.local. When you go to that page it will prompt for a username and password. The defaults are "admin" and "secret", without the quotes.

@kenkolen-neal
Copy link
Author

Guys, thanks so much for working with me. I have it working.
I take it you guys are not in the U.S. ?
I am on the Board of the Astronomy Club here in Miami. We put on the Star Party in the Florida Keys in case you are interested.
Neal

@EricClaeys
Copy link
Collaborator

@kenkolen-neal
I'm in Naperville IL (30 miles west of Chicago). Michael and his wife live in a nice mobile bus so his address is where ever they happen to be. Not sure about Chris but I'm pretty sure he's in the US.
Thomas is in Canada.

@kenkolen-neal
Copy link
Author

kenkolen-neal commented Oct 19, 2021 via email

@EricClaeys
Copy link
Collaborator

Michael and I are. Not sure about Chris but I'm 99% sure he's not a profession astronomer.
I have a remote observatory in NM next to New Mexico Skies that Mike and Linda (?) Rice own.
Michal has an observatory in southwest NM that he's moving about 15 miles down the road.

@kenkolen-neal
Copy link
Author

Well if you guys are in South Florida look me up.

@kenkolen-neal
Copy link
Author

kenkolen-neal commented Oct 21, 2021 via email

@EricClaeys
Copy link
Collaborator

@ckuethe, @linuxkidd,
Shouldn't the allsky software automatically run when the Pi is restarted and before you login?

@kenkolen-neal,
FYI, for general questions you can use the Discussions link at the top of the page, or the "Allsky" Facebook page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Needs software change question User has question; may turn into bug or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants