since you only can send me the SD Card, it is necesarry tocopy the CumulusMX folder onto the SDCard first.
Please read my Last mail how you can do it.
Instead of copying it to /tmp/CumulusMX you can copy it directly into the root of th SD Card or into /home/pi/CumulusMX
Once this is done, please change the password of the user pi.passwd will ask for the current password and 2 times for a new one. (Don't forget to change the password back later, when the image is being created.

Now it is time to create a DD Image which is possible, since you connected an external drive.
While this is done, you don't need to stop your current CumusluMX weather software.
How to create a DD Image:Option 1: Not sure, if you configred the path for diskimages in the cumulusmxsh.conf file ? SearchDDBACKUPFOLDER="/mnt/SSD/CumulusMX_Backup"
(Create hits folder first: mkdir /mnt/SSD/CumulusMX_Backup)
Now use the commandline option of cumulusmx.sh: sudo /mnt/SSD/CumulusMX/cumulusmx.sh -b -d

the system will not be stopped, while this command run. If you are interested, you can login on a second terminal and look, while the image file growth -> watch -n 1 'ls -al /mnt/SSD/CumulusMX_Backup/'

Once this is done, the file raspberry_pi4gb.img shuold be created and ready for upload.

Now I have no idea so far, where and how we can share it (Hopefully also your upload speed is 40 MB/s. Mine is just 6 but the download speed is 120Mbit/s which is okay.
If you have no Idea where to upload, I will create an account on my fileshare server and send it via PM

Please don't forget to change you pi password back, after the image was created.
Jan

Sorry about the length of time this has taken, I've been away and the Pi stayed up all the time

jank wrote:
sudo cp -rp /mnt/SSD/CumulusMX/ /tmp/CumulusMX
This will make a copy of the complete CumulusMX folder from your external device to the SD Card
Now please change the path information in file /etc/init.d/cumulusmx

CumulusMX_HOME=/CumulusMX
I think, no other file need to be changed.
Disconnect the Externla drive with the original CumulusMX folder (Because my cumulusmx scirpt will search for folders with name CumulusMX and I have no idea which one will be found first /tmp or external drive)

Once this is done, please try again if this change is able to boot.

It did boot (had to change to home from tmp because that does not survive a boot, and renamed the CumulusMX directory since I can't unplug the SSD...).

jank wrote:Now it is time to create a DD Image which is possible, since you connected an external drive.
While this is done, you don't need to stop your current CumusluMX weather software.
How to create a DD Image:

jpsc wrote:Sorry about the length of time this has taken, I've been away and the Pi stayed up all the time
It did boot (had to change to home from tmp because that does not survive a boot, and renamed the CumulusMX directory since I can't unplug the SSD...).
Don't know what it proves though.
Next thing I'll do is send you the dd

I need to double check it: Once you copied CumulusMX folder fomr the SSD to the SD card, the init.d Script worked and CumulusMX is being started ?
Please answer because this is important. In this case, I should plug a USB Stick to my Raspberry to reproduce the problem.
Btw: Ihave successfully downloaded the DD IMage, not sure if it isn't better to remove the Image again or delete you post with the download link and password
I will check it as soon as possible when I have time (I am close to my vacation)

jank wrote:I need to double check it: Once you copied CumulusMX folder fomr the SSD to the SD card, the init.d Script worked and CumulusMX is being started ?
Please answer because this is important. In this case, I should plug a USB Stick to my Raspberry to reproduce the problem.

Yes, the 4GB does successfully run the script at boot time when it is on the SD card, but not when it is on the SSD, no other changes.

jank wrote:
Btw: Ihave successfully downloaded the DD IMage, not sure if it isn't better to remove the Image again or delete you post with the download link and password

There is nothing else on there except the weather station, so no worries, but I'll delete it now

jank wrote:
I will check it as soon as possible when I have time (I am close to my vacation)

jank wrote:I need to double check it: Once you copied CumulusMX folder fomr the SSD to the SD card, the init.d Script worked and CumulusMX is being started ?
Please answer because this is important. In this case, I should plug a USB Stick to my Raspberry to reproduce the problem.

Yes, the 4GB does successfully run the script at boot time when it is on the SD card, but not when it is on the SSD, no other changes.

jank wrote:
Btw: Ihave successfully downloaded the DD IMage, not sure if it isn't better to remove the Image again or delete you post with the download link and password

There is nothing else on there except the weather station, so no worries, but I'll delete it now

jank wrote:
I will check it as soon as possible when I have time (I am close to my vacation)

well, lets say the weather in germany will get worse next week but I am going to north east Italy....what should I say...I am expecting hot temperatures.......but maybe I find the time to check your image before I leave.

Thank you for for the very useful scripts. I installed them tonight and I can auto-start CumulusMX on a reboot and use all the other commends in the start stop file. I had tried crontab before without success. Now I can go through a power failure and come back on line.

Thank you for for the very useful scripts. I installed them tonight and I can auto-start CumulusMX on a reboot and use all the other commends in the start stop file. I had tried crontab before without success. Now I can go through a power failure and come back on line.

Hello, Thank you very much for this update. Question: you are running cumulusmx from the SD Card and not from an external USB Device?

I ran into an issue today. I mounted a Windows network share to use instead of the default back folder in CumulusMX.sh. The new backup folder is /home/pi/WiindowsShare/Backup (Not the actual name but you get the picture). Then I edited /etc/fstab to add a line to mount the drive at bootup. After doing this the drive was mounting manually OK but not on a reboot. I found a few mentions of this problem but the easy solution was to change the raspi-config settings to wait on network to boot. Apparently, if OS tries to mount the drive before the network is running it doesn't mount. This worked and my Windows share drive was there.

Then I edited the cumulusmxsh.conf file to put in the new backup path. After saving I rebooted and CumulusMX would not start. I checked the log file and it appeared the script was telling CumulusMX to quit. It would start fine with the -r parameter on the script. I looked at several things and finally I changed the user in the /etc/init.d/cumulusmx back to root from pi. This worked and CumulusMX started on reboot.

VTHokie74 wrote:Apparently, if OS tries to mount the drive before the network is running it doesn't mount. This worked and my Windows share drive was there.

Yes, I remember, this was an issue and it was fixed some month ago from in the OS

VTHokie74 wrote:Then I edited the cumulusmxsh.conf file to put in the new backup path. After saving I rebooted and CumulusMX would not start. I checked the log file and it appeared the script was telling CumulusMX to quit.

No this quit signal cam not form the boot. All statscripts in /etc/init.d can be executed in so called "runlevels". Runlevel 0 - 6
Most of these Scripts will also executed when runlevel 0 is reached and the program will be stopped. So it will be executed runlevel 3,5,6 and 0
This is, where the Quit in the logfile comes form. [/quote]

VTHokie74 wrote:
It would start fine with the -r parameter on the script. I looked at several things and finally I changed the user in the /etc/init.d/cumulusmx back to root from pi. This worked and CumulusMX started on reboot. Any idea why this change was required?

The cumulusmx.sh is checking if the owner of ALL files in the CumulusMX folder belong to the same user.
When you usually start Cumulusmx with sudo (root) some files will have the owner root. this is not a problem. But when you switch back to user pi, it will not have access to the files created by sudo (root) therefor, I am checking this and in case, there are different file owners cumulusmx.sh will not start.
But this should be prompted on the command line and also a solution, how to check which file belongs to a different user

You can check with this command, the other user will be shown at the end: sudo find /CumulusMX -type f -printf '%u %p\n' |sort |more
You can change the owner of all files in your folder by using this command: sudo chown -R pi:pi /CumulusMX

Thanks for the reply jank. I think the "quit" was coming because of the reboot command during shutdown which is what I think you were explaining. It was followed in a few seconds by an entry that Cumulus was trying to start. I think you are correct that it might have been a permissions issue. I was using sudo for all the edit commands. As long as there is nothing wrong with running as root CumulusMX I will leave it.

OK, here are some log files. First a reboot with user=root in the init.d file

pi@raspberrypi:~/CumulusMX $ tail cumulusmxsh.log
2016-07-10 14:26:58 - System - CumulusMX is successfully being started
2016-07-10 14:28:26 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 14:28:29 - CumulusMX Script is being called with -s (Status)
2016-07-10 15:48:32 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:48:39 - System - CumulusMX is being Stopped with -q
2016-07-10 15:48:52 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:48:56 - CumulusMX trying to start with these parameters /home/pi/CumulusMX/CumulusMX.exe -port 8998
2016-07-10 15:49:41 - System - CumulusMX is successfully being started
2016-07-10 15:51:17 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:51:20 - CumulusMX Script is being called with -s (Status)
pi@raspberrypi:~/CumulusMX $

I changed the user back to PI and it would not start

pi@raspberrypi:~/CumulusMX $ tail cumulusmxsh.log
2016-07-10 15:48:39 - System - CumulusMX is being Stopped with -q
2016-07-10 15:48:52 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:48:56 - CumulusMX trying to start with these parameters /home/pi/CumulusMX/CumulusMX.exe -port 8998
2016-07-10 15:49:41 - System - CumulusMX is successfully being started
2016-07-10 15:51:17 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:51:20 - CumulusMX Script is being called with -s (Status)
2016-07-10 15:56:28 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:56:31 - CumulusMX Script is being called with -s (Status)
2016-07-10 15:56:43 - CumulusMX 2.5.2.0 (2016-05-02) Script is being called with some Parameter
2016-07-10 15:56:50 - System - CumulusMX is being Stopped with –q

Hi
...als I already mentioned. Some files are owned by User Pi and others by Root.(based on your last Screenshot)
-rw-r--r-- 1 root root 3479 Jul 10 16:02 cumulusmxsh.log
As you can See,file permissions for the cumulusmxsh.log are
Owner: root
Root is allowed to Read Write
All others only Read.
Pi is not allowed to Write into this file

Root will not have problems but Pi can not access root's files for writing.
If you want to use Pi from now on, use this command
sudo chown -R pi:pi /home/pi/CumulusMX
This will change the user and group owner to pi.