Replies: 21 comments 53 replies
-
@bemo47 The option you came up with is probably the easiest thing to do. The Allsky Website requires some web server to be present, and the WebUI installation script (~/allsky/gui/install.sh) installs one. Many people run their website on a remote server, often one hosted by a commercial company, and that company provides the web server so those users just have to install the allsky-website package. A couple things to keep in mind:
|
Beta Was this translation helpful? Give feedback.
-
What is my "lats option"? In my 4th bullet point you don't need to run |
Beta Was this translation helpful? Give feedback.
-
The url is still not ready, and yes i should put it on the map.
Le lun. 11 avr. 2022 à 18:58, EricClaeys ***@***.***> a
écrit :
… @bemo47 <https://github.com/bemo47>. You did it! Good job.
You shouldn't need the WEB_*_DIR variables- they are only needed if you
want the files to go to two places, on the Pi and to a remote server. In
your case, the Pi4 considers the website to be local.
What is your Internet URL? And are you going to put this on the global
Allsky map?
—
Reply to this email directly, view it on GitHub
<#1140 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSF2YF6XEEXTOXTPPFRM5TVERK3DANCNFSM5TARXGTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
This url seems to work
allskygonthiers.ddns.net/allsky
Le lun. 11 avr. 2022 à 18:58, EricClaeys ***@***.***> a
écrit :
… @bemo47 <https://github.com/bemo47>. You did it! Good job.
You shouldn't need the WEB_*_DIR variables- they are only needed if you
want the files to go to two places, on the Pi and to a remote server. In
your case, the Pi4 considers the website to be local.
What is your Internet URL? And are you going to put this on the global
Allsky map?
—
Reply to this email directly, view it on GitHub
<#1140 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSF2YF6XEEXTOXTPPFRM5TVERK3DANCNFSM5TARXGTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@bemo47. I would guess your Samba share isn't working. That's not an Allsky problem. If you manually create a file in I noticed you have a file called "gonthiers". Did you create that manually? Allsky calls the startrails files "startrails-YYYYMMDD.jpg". |
Beta Was this translation helpful? Give feedback.
-
Oh, right, at least i forgot to put the mount in the boot on the Pi Zero
but the live image is working, and updating continuously, so the share is
still working but only at allsky folder level
And yes, here are my settings in the ftp-settings.sh, but i will remove
this name gonthiers and let it empty as before.
[image: image.png]
Le mar. 12 avr. 2022 à 11:05, EricClaeys ***@***.***> a
écrit :
… @bemo47 <https://github.com/bemo47>. I would guess your Samba share isn't
working. That's not an Allsky problem. If you manually create a file in
/var/www/html/allsky on the Zero do you see it on the Pi 4? And if you
create a file on the Pi 4 do you see it on the Zero?
I noticed you have a file called "gonthiers". Did you create that
manually? Allsky calls the startrails files "startrails-YYYYMMDD.jpg".
—
Reply to this email directly, view it on GitHub
<#1140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSF2YDV37RH3ZSZNTTT7RTVEU4FLANCNFSM5TARXGTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@EricClaeys so i have now allsky on each Pi, but still this write error due to different owners. So i will ask help on some linux forums to try to get the same users on both side with same rights. But, maybe there is another possibility which could be enough, i mean if i could launch a run of the webserver on the Pi4 through a script, just to make it creating these thumbnails, and then when the one on the Pi Zero will run it will just have to read and this is working perfectly. |
Beta Was this translation helpful? Give feedback.
-
@EricClaeys ok i found a syntax able to run the webserver on each folder to create all thumbnails everydays easy........... but... at which time should i launch that.... |
Beta Was this translation helpful? Give feedback.
-
@EricClaeys ahhh sorry, the texts says its a rename, i guess to change .repo in .sh ? |
Beta Was this translation helpful? Give feedback.
-
@bemo47 Congratulations!
if [ "${ALLSKY_DEBUG_LEVEL}" -ge 3 ]; then
echo "${ME}: Creating thumbnails for keogram, timelapse, and startrails.
fi This will add the message to the |
Beta Was this translation helpful? Give feedback.
-
@bemo47 My pleasure. Enjoy your Allsky! |
Beta Was this translation helpful? Give feedback.
-
@EricClaeys so, the script did not run or did not create the thumbnails, so i tried to do a run in the terminal and i think there are some syntax error in th IF command added for the log, here the result of my run in terminal : pi@allsky:~/allsky/scripts $ ./endOfNight_additionalSteps.sh
./endOfNight_additionalSteps.sh: ligne 14 : [: : nombre entier attendu comme expression
[3843626:3843626:0415/102140.841876:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is egl, ANGLE is
[3843124:3844069:0415/102140.891504:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[3843124:3844069:0415/102140.892844:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[3843124:3844069:0415/102140.895236:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[3843124:3843512:0415/102145.753786:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] crbug.com/1216328: Checking Bluetooth availability started. Please report if there is no report that this ends.
[3843124:3843512:0415/102145.753857:ERROR:chrome_browser_main_extra_parts_metrics.cc(233)] crbug.com/1216328: Checking Bluetooth availability ended.
[3843124:3843512:0415/102145.753884:ERROR:chrome_browser_main_extra_parts_metrics.cc(236)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[3843626:3843626:0415/102145.961110:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.97603 s, last_timebase_=59910092303 bogo-microseconds, timebase=59911068333 bogo-microseconds, last_media_stream_counter_=59910, media_stream_counter=59911
[3843124:3843512:0415/102145.977139:ERROR:chrome_browser_main_extra_parts_metrics.cc(240)] crbug.com/1216328: Checking default browser status ended.
[3843626:3843626:0415/102146.952534:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.991429 s, last_timebase_=59911068333 bogo-microseconds, timebase=59912059762 bogo-microseconds, last_media_stream_counter_=59911, media_stream_counter=59912
[3843626:3843626:0415/102147.951206:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.998716 s, last_timebase_=59912059762 bogo-microseconds, timebase=59913058478 bogo-microseconds, last_media_stream_counter_=59912, media_stream_counter=59913
[3843626:3843626:0415/102148.934392:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.983211 s, last_timebase_=59913058478 bogo-microseconds, timebase=59914041689 bogo-microseconds, last_media_stream_counter_=59913, media_stream_counter=59914
[3843626:3843626:0415/102149.902102:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.96663 s, last_timebase_=59914041689 bogo-microseconds, timebase=59915008319 bogo-microseconds, last_media_stream_counter_=59914, media_stream_counter=59915
[3843626:3843626:0415/102150.899368:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.998085 s, last_timebase_=59915008319 bogo-microseconds, timebase=59916006404 bogo-microseconds, last_media_stream_counter_=59915, media_stream_counter=59916
[3843626:3843626:0415/102151.944639:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=1.03756 s, last_timebase_=59916006404 bogo-microseconds, timebase=59917043962 bogo-microseconds, last_media_stream_counter_=59916, media_stream_counter=59917
[3843626:3843626:0415/102152.935547:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.998878 s, last_timebase_=59917043962 bogo-microseconds, timebase=59918042840 bogo-microseconds, last_media_stream_counter_=59917, media_stream_counter=59918
[3843626:3843626:0415/102153.899745:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=0.964235 s, last_timebase_=59918042840 bogo-microseconds, timebase=59919007075 bogo-microseconds, last_media_stream_counter_=59918, media_stream_counter=59919
./endOfNight_additionalSteps.sh: ligne 29: fin de fichier (EOF) prématurée lors de la recherche du « " » correspondant
./endOfNight_additionalSteps.sh: ligne 33: erreur de syntaxe : fin de fichier prématurée
pi@allsky:~/allsky/scripts $ Here my endofnight script, line 14 is the first IF : #!/bin/bash
# This script is a hook to run additional operations at the end of the night,
# such as copying all the images to an additional server or publishing videos
# to a hosting service. It is run prior to the deletion of any old image files.
# To use this script, first copy it to
# $ALLSKY_HOME/scripts/endOfNight_additionalSteps.sh, and then edit the copy.
# This will prevent your changes from being lost in future upgrades.
# Include "${ME}" in any output so it's easier to find in the log file, for debugging.
ME="$(basename "$BASH_ARGV0")"
if [ "${ALLSKY_DEBUG_LEVEL}" -ge 4 ]; then
echo "${ME}: Creating thumbnails for keogram.
fi
timeout 20 chromium-browser 192.168.2.223/allsky/keograms/
sleep 10
if [ "${ALLSKY_DEBUG_LEVEL}" -ge 4 ]; then
echo "${ME}: Creating thumbnails for timelapse.
fi
timeout 20 chromium-browser 192.168.2.223/allsky/videos/
sleep 10
if [ "${ALLSKY_DEBUG_LEVEL}" -ge 4 ]; then
echo "${ME}: Creating thumbnails for startrails.
fi
timeout 20 chromium-browser 192.168.2.223/allsky/startrails/ but without these IF statements, my EON script seems working, even if it gives many errors in the terminal sorry for the format here...................... |
Beta Was this translation helpful? Give feedback.
-
@EricClaeys okkk, got it, and i understand what u mean ! anyway now i have just removed the IF and it will run called by Allsky in the morning, so it should be ok. Next step will be to be able to publish that website... still not working now... |
Beta Was this translation helpful? Give feedback.
-
@bemo47 I just realized my location is slightly off so it's showing the middle of a field. If you enter |
Beta Was this translation helpful? Give feedback.
-
@EricClaeys Apr 16 07:02:31 allsky allsky.sh[1884519]: endOfNight.sh: ===== Timelapse complete
Apr 16 07:02:35 allsky allsky.sh[1831247]: STARTING EXPOSURE at: 2022-04-16 07:02:35 @ 43.94 ms (0.04 sec)
Apr 16 07:02:42 allsky allsky.sh[1897495]: endOfNight_additionalSteps.sh: Start of thumbnails creation
Apr 16 07:02:42 allsky allsky.sh[1897495]: endOfNight_additionalSteps.sh: Creating thumbnails for keogram
Apr 16 07:02:43 allsky allsky.sh[1831247]: > Sleeping 8.0 sec from histogram exposure
Apr 16 07:02:43 allsky allsky.sh[1831247]: > Saving DAY image 'image-20220416070235.jpg'
Apr 16 07:02:46 allsky allsky.sh[1897495]: /home/pi/allsky/scripts/endOfNight_additionalSteps.sh : ligne 22 : 1897500 Trappe pour point d'arrêt et de trace timeout 20 chromium-browser 192.168.2.223/allsky/keograms/
Apr 16 07:02:51 allsky allsky.sh[1897495]: endOfNight_additionalSteps.sh: Creating thumbnails for timelapse
Apr 16 07:02:51 allsky allsky.sh[1831247]: STARTING EXPOSURE at: 2022-04-16 07:02:51 @ 43.94 ms (0.04 sec)
Apr 16 07:02:52 allsky allsky.sh[1831247]: === next exposure=39066 (multiply by 0.889) [last_exposure_us=43935, maxAcceptable=134, mean=137]
Apr 16 07:02:52 allsky allsky.sh[1897495]: /home/pi/allsky/scripts/endOfNight_additionalSteps.sh : ligne 29 : 1897591 Trappe pour point d'arrêt et de trace timeout 20 chromium-browser 192.168.2.223/allsky/videos/
Apr 16 07:02:52 allsky allsky.sh[1831247]: > Saving DAY image 'image-20220416070251.jpg'
Apr 16 07:02:52 allsky allsky.sh[1831247]: > Sleeping 8.0 sec from histogram exposure
Apr 16 07:02:57 allsky allsky.sh[1897495]: endOfNight_additionalSteps.sh: Creating thumbnails for startrails
Apr 16 07:02:57 allsky allsky.sh[1897495]: /home/pi/allsky/scripts/endOfNight_additionalSteps.sh : ligne 36 : 1897686 Trappe pour point d'arrêt et de trace timeout 20 chromium-browser 192.168.2.223/allsky/startrails/
Apr 16 07:02:57 allsky allsky.sh[1897495]: endOfNight_additionalSteps.sh: End of thumbnails creation
Apr 16 07:02:58 allsky allsky.sh[1884519]: endOfNight.sh: Deleting old directory /home/pi/allsky/images/20220401
Apr 16 07:02:59 allsky allsky.sh[1884519]: endOfNight.sh: ===== Posting camera details to allsky map
Apr 16 07:03:00 allsky allsky.sh[1831247]: STARTING EXPOSURE at: 2022-04-16 07:03:00 @ 39.06 ms (0.04 sec)
Apr 16 07:03:00 allsky allsky.sh[1897748]: postToMap.sh: Map data UPDATED.
Apr 16 07:03:01 allsky allsky.sh[1831247]: > Sleeping 8.0 sec from histogram exposure
Apr 16 07:03:01 allsky allsky.sh[1831247]: > Saving DAY image 'image-20220416070300.jpg'
Apr 16 07:03:09 allsky allsky.sh[1831247]: STARTING EXPOSURE at: 2022-04-16 07:03:09 @ 39.06 ms (0.04 sec) |
Beta Was this translation helpful? Give feedback.
-
@bemo47 I just tried Can you attach the chromium command so I can try? |
Beta Was this translation helpful? Give feedback.
-
Ok but no need also to reinstall your special functions script ? Because
this is what i did, install --update and then change functions script for
the specific one, and i have the red msg.
But i will try again.
Le mer. 11 mai 2022, 14:22, EricClaeys ***@***.***> a écrit :
… @bemo47 <https://github.com/bemo47> You should only need to run website/install.sh
--update on the Pi 4 in order to fix the red message. No need to reboot
anything.
—
Reply to this email directly, view it on GitHub
<#1140 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKSF2YHTTWQPJOYXN77LLIDVJORBRANCNFSM5TARXGTA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@bemo47 That's progress - we know it's a permissions problem which we can fix. Please do: cd /var/www/html/allsky/keograms
ls -l |
Beta Was this translation helpful? Give feedback.
-
@bemo47 If you can't figure out how to do that, then on the Pi zero do a
|
Beta Was this translation helpful? Give feedback.
-
BINGO !!!!!!!!!!!!!!!!! and now it works from the Pi Zero !!! maybe i should add the gid options also but i don't know which group i should name here, but at least with uid it works ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i want to install my webserver on a second Pi, its a Pizero 2W equipped with 2 Wifi, one on the lan where Allsky is hosted and one on a lan with an ADSL connection able to be reached from internet.
But as i am not skilled in Linux, i don't know how to install it, the Web documentation says to download source from github, so i did, its now in a folder in my Pi Zero. But then what to do next ?
There an install script in the Allsky folders but it is on the Allsky Pi4, so how to create this webserver on the Pi Zero ?
I miss some guidance here to succeed....
One option i am thinking about is to install the full Allsky also on the Pi Zero and then i will just run the install script for webserver.
And after i will have to adapt the FTP or an Rsync process to move images from the Pi4 to the Pi Zero...
But maybe there is a simpler step to install the webserver on a second Pi...
Thanks for help.... :)
Beta Was this translation helpful? Give feedback.
All reactions