Feature request - cloudshell XU4

Suggestions for features and software you would like to see in DietPi, goes here.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Feature request - cloudshell XU4

Post by Fourdee »

Thanks John, \040 looking good.

I've updated the Cloudshell script. There was an issue with it failing to correctly handle storage paths with whitespace in them. Hopefully this fixes the 'mount not active' aswell.

Please run the following to update DietPi-Cloudshells:

Code: Select all

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
Restart DietPi-Cloudshell and let me know how it goes.

Thanks John.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Feature request - cloudshell XU4

Post by johnvick »

HI Fourdee,

Again thanks for your efforts with this but still the same I am afraid with the "Mount not active" message.

It is not always there and mostly affects the rootfs drive. The numbers are fine it's just this message.

John
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Feature request - cloudshell XU4

Post by Fourdee »

johnvick wrote:HI Fourdee,

Again thanks for your efforts with this but still the same I am afraid with the "Mount not active" message.

It is not always there and mostly affects the rootfs drive. The numbers are fine it's just this message.

John
Hi John,

Really bizarre, if anything the obtained values should be incorrect for the following mounts (due to whitespace):

Code: Select all

192.168.1.4:/Multimedia/Music/John's iTunes/Music
192.168.1.4:/TV Series
192.168.1.4:/TV Documentaries 
192.168.1.4:/Music Videos
in FSTAB I commented out the shares with spaces in their names, rebooted, and no "Mount not active" message.
Just wondering if this is caused by the above. Leave it with me :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Feature request - cloudshell XU4

Post by johnvick »

Hi Fourdee,

I only display the stats for three drives on the Cloudshell display and they are all attached to the XU4 - an eMMC, a USB flash and an SSD inside the case - not any of the shares on the QNAP.

John
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Feature request - cloudshell XU4

Post by Fourdee »

johnvick wrote:Hi Fourdee,

I only display the stats for three drives on the Cloudshell display and they are all attached to the XU4 - an eMMC, a USB flash and an SSD inside the case - not any of the shares on the QNAP.

John
Hi John,

Appreciate your patience with this. Unfortunately, Its going to be trial and error testing on this one, as I cant replicate.

Lets try invoking Sync and POSIX output from df. Please download the latest version, reboot and test, let us know results:

Code: Select all

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
Thanks John
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Feature request - cloudshell XU4

Post by johnvick »

HI Fourdee,

Thanks for your continued efforts with this - unfortunately this version does not show any info at all - just N/A and Mount not active.

It's putting a "mount not found" message in the log every few seconds.

John
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Feature request - cloudshell XU4

Post by Fourdee »

johnvick wrote:HI Fourdee,

Thanks for your continued efforts with this - unfortunately this version does not show any info at all - just N/A and Mount not active.

It's putting a "mount not found" message in the log every few seconds.

John
Hi John,

I've added additional debugging (logging) code to dietpi-cloudshell. Please can you update your version, reboot, and test:

Code: Select all

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
When the scene fails to pull the drive data, please make a rough note of the time, then upload /var/log/dietpi-cloudshell.log to pastebin so I can check results.

Thanks John.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Feature request - cloudshell XU4

Post by johnvick »

HI FOurdee,

Thanks again - I'll just post a section of the log here:
_____________________________________________

Tue 13 Dec 06:43:24 NZDT 2016 | Mount not found:

- Index = 2
- Path = /mnt/usb_2



Tue 13 Dec 06:43:24 NZDT 2016 | Mount not found:

- Index = 3
- Path = /mnt/usb_3



Tue 13 Dec 06:44:06 NZDT 2016 | Mount not found:

- Index = 0
- Path = /



Tue 13 Dec 06:44:06 NZDT 2016 | Mount not found:

- Index = 1
- Path = /mnt/usb_1



Tue 13 Dec 06:44:11 NZDT 2016 | Mount not found:

- Index = 2
- Path = /mnt/usb_2



Tue 13 Dec 06:44:11 NZDT 2016 | Mount not found:

- Index = 3
- Path = /mnt/usb_3
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Feature request - cloudshell XU4

Post by Fourdee »

johnvick wrote: Tue 13 Dec 06:44:06 NZDT 2016 | Mount not found:

- Index = 0
- Path = /
Think i've found the cause, leave it with me, will attempt fix :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Feature request - cloudshell XU4

Post by Fourdee »

Hi John,

Please try this updated version and let me know if 'mount not found' reoccurs:

Code: Select all

wget https://raw.githubusercontent.com/Fourdee/DietPi/testing/dietpi/dietpi-cloudshell -O /DietPi/dietpi/dietpi-cloudshell
Restart service

Code: Select all

systemctl restart dietpi-cloudshell
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply