Closed Jonk2 closed 1 year ago
Also, I'm not sure if this is related, but I've just noticed this, and I have no overlays showing...
@Jonk2
I have moved all of the modules to /opt/allsky/modules You can just move the folder from /etc to /opt
You are getting the error because the /opt/allsky folder isnt there
Ok, I've jumped through some hoops (ftp with root) and copied etc/allsky.... to opt/allsky
I've run the install script again, and it's stopped with this error:
Installing allsky_pistatus
==========================
INFO: Installing dependencies
INFO: Installing allsky_pistatus module
cp: cannot create regular file '/opt/allsky/modules/allsky_pistatus.py': Permission denied
ERROR: Installation of allsky_pistatus Failed, Could not copy module from /home/pi/allsky-modules/allsky_pistatus/allsky_pistatus.py to /opt/allsky/modules
Do I need to run sudo ./install.sh then? I'll try that now.
The answer is no!
DO NOT run this as root. Run the installer as the same user as AllSky was installed
Permissions are very important. The permissions on the folder in /opt must be the same as they are in /etc
Change the permissions on the /opt/allsky folder (and all folder/files within) to the user you installed allsky as and www-date
so something like
chown -R pi:www-data /opt/allsky
Doesn't seem to work:
pi@rorpi:~/allsky-modules $ chown -R pi:www-data /opt/allsky
chown: changing ownership of '/opt/allsky/modules': Operation not permitted
chown: changing ownership of '/opt/allsky': Operation not permitted
etc/allsky is pi www-data
EDIT - let me try again as root
EDIT 2 - yes that worked - sorry, I'm not great with Linux
Success! Thanks for your help.
Ok I'm confused. Does this automatically now show in the module editor (I have rebooted after installation successful) or do I need to do something else?
It will appear in the module editor but only in the periodic flow
Sorry, not for me it doesn't!
Doesnt for me either on a fresh install - leave it with me
In the module settings make sure 'Show experimental' is enabled
It is, probably by default as I don't recall changing anything?
Also there's a typo on that screen "Show exterimental modules". Is that external experimental?!
Hi Alex, I've installed a fresh Dev branch of allsky and have come here to fetch the extra modules.
The clone has worked, chmod'd the install script and ran it.
I get the error message:
AllSky does not seem to be installed. The /opt/allsky directory does not exist. Please install AllSky before installing the modules
Allsky is installed, so what do I need to check?