New disk mount scheme for early version TonidoPlugs
This is backwards incompatible change that affects users of early versions of TonidoPlugs.
It needs an action from your part if you upgrade to the latest Tonido version 2.12 and later.
This blog post is applicable to users of early versions of TonidoPlug, on which the external USB disks are mounted on /media/usb0, /media/usb1 etc.
Note: If your TonidoPlug mounts disks already as /media/disk1part1, /media/disk2part1 etc., then this post is not applicable for you, feel free to skip this blog post.
Users of earlier versions of TonidoPlug might occasionally face an issue with their plugs, when they connect external USB disks. When a USB disk is connected to the plug, the connected disk will be detected and be available as /media/usb0 or /media/usb1 etc.,. This mount scheme will cause issues if you have multiple USB disks connected to the plug (through a USB hub) or single USB disk with multiple partitions connected to the plug.
The problem is that every time you reboot your plug, the USB disks(partitions) will be detected in random order and they might get assigned with different mount paths. This problem can occur even if remove and reinsert the drive(s).
The new Tonido release v188.8.131.5208 for TonidoPlug updates the disk mounting scheme for all TonidoPlugs including the earlier versions.
With this update, your TonidoPlug will start mounting disks with a new naming scheme as /media/diskXpartY.
where, diskXpartY will refer to disk number X and partition number Y.
disk1part2 will refer to disk number 1 and partition number 2.
By following this scheme, we are ensuring that a disk detected once will always be mounted on the same path no matter when the plug is rebooted or the disk is reinserted.
What is affected:
When early version TonidoPlug users update their software to v184.108.40.20608, all apps will become suspended.
This will not happen immediately after the update., but it will happen only when the plug is rebooted or the USB drive is reconnected to the plug.
This happens because Tonido expects your user data directory to be in /media/usb0 or /media/usb1 (based on your existing configuration) but since the USB disks will not be mounted on these paths anymore, they suspend the applications quoting user data directory unavailability as the reason for suspension.
If this happens on your TonidoPlug, please follow these steps:
1) Goto Tonido UI. Click on ‘Settings‘ on the left-hand side tree navigation. On the settings panel, click on “Account” tab.
2) Change the existing value of “User Data Directory” from /media/usb0 to /media/disk1part1 depending on which USB drive you are using as your Tonido data directory. If you are not sure of this path, navigate using the Tonido explorer UI to find the path where your disk is mounted.
In the following image, I will change my data directory from /media/usb0/Tonido to /media/disk1part1/Tonido.
After changing the value, click on ‘Update‘ button.
3) You need to reboot the plug for the changes to take effect. You can reboot the plug by either recycling power to the plug or by clicking on ‘Reboot TonidoPlug‘ button from the TonidoPlug admin UI.
4) Reactivate all your apps. They should now activate and function normally.
This change also helps us support more features for your USB drives such as showing friendly names including disk manufacturer data.
It might take time for some users to getting used to this new disk naming scheme, and we regret having to make this backwards incompatible change, but this is a change that will make your plug robust, more use-able and make it also easier for us to support over the coming years.