Hello all, I hope I can explain this well enough to you. I recently moved my Cumulus MX to ran in docker in my Synology DS412Play by following the instructions on here by Galfert an its running fine, I've now upgraded to the latest "Cumulus MX 3.14.2 b3162" and decided to use brilliant dashboard by AndyK (viewtopic.php?f=28&t=18557&start=45) but I'm running into a problem I'm using the "Copy to local folder" option in FTP settings to create to the files and using the "Extra Web Files" to copy the moon.png to the interface folder but when it does this the file is set to owner "root" which means I can't view the file on the dashboard or by browsing to the folder, how do I get this work correctly with correct ownership of the file.
The files created by the Copy to Local folder option have the ownership of admin when viewed on the Synology drives, but the file copied by the Extra Web files process sets it to root.
Sorry if this seems confusing but I've tried to explain it as best as I can.
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
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
Local dashboard help - File ownership
Moderator: mcrossley
-
pgibbons256
- Posts: 5
- Joined: Sat 29 Jan 2022 2:03 pm
- Weather Station: Ecowitt GW1000A
- Operating System: Raspberry PI
-
pgibbons256
- Posts: 5
- Joined: Sat 29 Jan 2022 2:03 pm
- Weather Station: Ecowitt GW1000A
- Operating System: Raspberry PI
Re: Local dashboard help - File ownership
I don't know how to check that, I'm still getting my head around the whole docker thing. How would I check and change that?
-
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: Local dashboard help - File ownership
How are you starting MX? Is it from the command line, in a terminal window? Or do you have it set to start automatically, as a service?
-
pgibbons256
- Posts: 5
- Joined: Sat 29 Jan 2022 2:03 pm
- Weather Station: Ecowitt GW1000A
- Operating System: Raspberry PI
Re: Local dashboard help - File ownership
Its running in docker on the Synology Disk station, so I'm not really sure how its starting. I'm still trying to get my head around that part. It starts automatically,mi followed the instructions on this post viewtopic.php?f=40&t=18773&hilit=Synology
-
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: Local dashboard help - File ownership
Section 6 bullet point 4 suggests MX runs as root. This is why the files created by the local copy process are owned by root. I can't say why the other files are owned by another user, as I don't know the history of how MX was installed
One thing you could try is to change ownership of the copied file from root to another user. MX should then not change the ownership when it does its next copy. Give that a try. Warning - you will need to be doing this as the same user that owns the file - i.e. the root user.
One thing you could try is to change ownership of the copied file from root to another user. MX should then not change the ownership when it does its next copy. Give that a try. Warning - you will need to be doing this as the same user that owns the file - i.e. the root user.
-
pgibbons256
- Posts: 5
- Joined: Sat 29 Jan 2022 2:03 pm
- Weather Station: Ecowitt GW1000A
- Operating System: Raspberry PI
Re: Local dashboard help - File ownership
I'm using the alternative version posted further down that post by galfert - How to run Cumulus MX on Synology NAS using Docker, this method only uses steps 2,3,4 & 5 from the original post so I never set the User. I tried to change the ownership of the file moon.png but when it next copies it it changes back to root. I might have to see if there is a way to set the user when creating the container.