-
I added a USB/SSD to the RPi4. AllSky creates files that fill up the SD Card. To forgo this unwanted condition the SSD now holds the image creation folders for each day/night. By changing #ALLSKY_IMAGES="${ALLSKY_HOME}/images" to ALLSKY_IMAGES="/media/rpi/SSD" in variables.sh, the files are now being written to the SSD. There a problem however. The files do not show up in the "Images" menu in the Web Site. Does anyone know how to fix this. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
After much research, I could not find a solution in the Allsky code to correct this unwanted situation. This prompted me to seek a solution with the RPi Operating System. There is away to insert a Symbolic Link in the OS. |
Beta Was this translation helpful? Give feedback.
-
@jsalsburg, what do you have for the |
Beta Was this translation helpful? Give feedback.
-
Add
You should see a message "Modifying locations for WebUI". |
Beta Was this translation helpful? Give feedback.
-
An unwanted situation appeared after successfully making the changes below. I removed the current folder in the /allsky/images/ folder; this caused the Disk Usage to go from 54% to 34%, a desired effect. The unwanted effect was the thumbnails in the WebUI Images Page were replaced with placeholders. Apparently there is another fix that needs to be performed. Add ALLSKY_IMAGES="/media/rpi/SSD/newimages" text inside uservariables.sh file using nano editor and save it... rpi@rpi: /allsky/config/ cd ..
rpi@rpi: /allsky $ cd config |
Beta Was this translation helpful? Give feedback.
-
Now that the dawn of the first day has passed, the Allsky App has successfully written the three files of interest to the appropriate folders in the "/media/rpi/SSD/newimages" folder on the USB/SSD. The icon links are appearing in the WebUI Images Page but the files and their thumbnails are not displayed nor are they available through the browser. Something else is yet to be configured, I know not what. |
Beta Was this translation helpful? Give feedback.
-
@jsalsburg, I think if the |
Beta Was this translation helpful? Give feedback.
Thank you, this appears to have solved this problem. After performing this change, the WebUI "Images" page is behaving like it should. Here is what I did..
cd ..
cd ..
cd etc/lightpd
sudo nano lighttpd.conf
#alias.url += ("/images/" => "/home/rpi/allsky/images/")
alias.url += ("/images/" => "/media/rpi/SSD/newimages/")
save and reboot