Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Issue with Timelapse

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Issue with Timelapse

Post by philpugh »

Until recently I have had no problem with the metocam stiill image and timelapse - however I have just noticed on 6.20.0 and 6.21.0 that the list for the timelapse is not being populated.

The cumulusutils.ini section is:
[MeteoCam]
MeteoCamMenu=true
MeteoCamDir=./HP10
TimelapseExtension=mp4
MeteoCamName=HP10.jpg
and the console log from my web browser shows the following:-
GET https://goosegate.uk/HP10/ 403 (Forbidden)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
S.<computed> @ jquery.min.js:2
(anonymous) @ VM904:4
e @ jquery.min.js:2
t @ jquery.min.js:2
setTimeout (async)
(anonymous) @ jquery.min.js:2
c @ jquery.min.js:2
add @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
Deferred @ jquery.min.js:2
then @ jquery.min.js:2
S.fn.ready @ jquery.min.js:2
S.fn.init @ jquery.min.js:2
S @ jquery.min.js:2
(anonymous) @ VM904:3
b @ jquery.min.js:2
He @ jquery.min.js:2
append @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
$ @ jquery.min.js:2
html @ jquery.min.js:2
(anonymous) @ cumulusutils.js:1
c @ jquery.min.js:2
fireWith @ jquery.min.js:2
l @ jquery.min.js:2
(anonymous) @ jquery.min.js:2
load (async)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
LoadUtilsReport @ cumulusutils.js:1
onclick @ (index):1
jquery.min.js:2
for the first time click on the Timelapse 'button' and
GET https://goosegate.uk/HP10/null 404 (Not Found)
goosegate.uk/:1 Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
null:1
for subsequent clicks.

The still image is stored in the same web directory ..../HP10 as all the timelapse videos.

One piece of information that may be relevant is that I have a timelapse video for each day starting from the beginning of the year - I archive them anually!

If I issue https://goosegate.uk/HP10 I get a 403 error - I would expect that. If I issue a specific video request (e.g. https://goosegate.uk/HP10/tl20231101.mp4 ) the video plays correctly.

Any thoughts?
Phil
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with Timelapse

Post by HansR »

If I look at your webcam menu I see a correct image and clicking the timelapse I get the player (black/empty) and the list has no entries.

If you say the entries are there then it is most likely that the HP10 directory is not with user rights : rwxr-xr-x as it should be for CUtils (being just a world user reading the directory). So I assume that is it.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Issue with Timelapse

Post by philpugh »

Hans,

Directory Rights are rwxr-xr-x. I even set them to rwxrwxrwx and still got the same result.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with Timelapse

Post by HansR »

And the mp4's themselves are rw-r--r-- ?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with Timelapse

Post by HansR »

Could you post a directory listing of the HP10 directory?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Issue with Timelapse

Post by philpugh »

Hans,

Attached is result of ls -l in the directory HP10.
You do not have the required permissions to view the files attached to this post.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with Timelapse

Post by HansR »

OK. I see no fundamental difference with my own situation. So it is kind of trial and error. I have no idea tbh.
Maybe it is the number of mp4. Could you try with just one or two mp4's? Just move the rest temporarily out of the way?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Issue with Timelapse

Post by philpugh »

Hans,

Still getting the same error with only 3 time;apse videos in the directory - not sure what is happening here :?
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Issue with Timelapse

Post by freddie »

I think the problem is that your web server software doesn't allow you to list that directory. You might see a "client denied by server configuration" message in your server logs. You say this feature worked before - perhaps there has been a server config change recently, maybe even at the .htaccess level if you're using Apache.
Freddie
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with Timelapse

Post by HansR »

philpugh wrote: Sat 04 Nov 2023 4:43 pm Hans,

Still getting the same error with only 3 time;apse videos in the directory - not sure what is happening here :?
I agree with @freddie, this is a 403, access denied error so the web user (the CUtils website client) does not have the right to read that directory. It is an ownership user/group issue. But I can't tell your from here what to do.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
philpugh
Posts: 428
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: Issue with Timelapse

Post by philpugh »

Ok - fixed it! It was a directory access problem but the cause was a non printing character in my NGINX config file. It must have been a recent update to NGINX that highlighted the issue !

Thanks all.
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Issue with Timelapse

Post by HansR »

Pfff.... :roll:
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
Post Reply