Having problems using mountpoints - cloudron not able to access them?
-
Hi, I am having problems with using mountpoints on a newish install, both for volumes and for setting as backups location.
The operating system has the mountpoints mounted, but cloudron says it doesn't.
I am wondering if this is a permissions thing?
It has me wondering if perhaps I installed cloudron using sudo, and if so, is that a problem? (I can't remember...)
I have tried to chown the mount directory to user:group yellowtent:yellowtent (had to use sudo to do that)...
I can access the external drives I am using fine in the rest of the operating system, but cloudron won't accept that they are mounted, says they are not...
Any suggestions as to what could be the issue?
I have tried multiple different external drives and they have been mounted by the system to the default path which is /media/user/drivename. -
Hi, thanks for the reply... any chance you could provide a sample snippet of teh command line input required to do that manually, then, and would I have to do that each reboot, or each time the drive was unmounted/unplugged do you know?
On other cloudron installs I had no problem with this, so just wondering what could have changed... -
Can you try
mountpoint /media/mattho/sandisk256
? This is the command we run to check if it's mounted or not. -
Hi Girish, it outputs /media/mattho/sandisk256 is a mountpoint
so I can see that it is mounted, in the OS, I can see the files in it, but cloudron refuses to see it as mounted... -
And I get the same behaviour from cloudron whether it is trying to use it as a backup location or as a volume...
-
@Mad_Mattho mm, that is a head scratcher. Are you able to give us access to the server to debug further? If so, can you write to support@cloudron.io ?
-
@Mad_Mattho This looks like a desktop version of Ubuntu - are you running Cloudron on a desktop instead of a server version of Ubuntu (you shouldn't and it's not supported)?
-
Hi, yes, I have been running it on desktop version, I have done that 3 times with no problems so far but if that isn't supported, and not advised, I will delete that install and restart that machine with the server version only from now on...
BTW - I have a current install that has been up for a month or more that I used to learn a bit about cloudron on an old laptop I had lying around, I installed it on the desktop edition fine after reading the instructions at the webpage on cloudron.io where the installation instructions say - "Create a fresh Ubuntu Jammy 22.04 x64 server and run these commands", , I assumed that a desktop edition COULD be the server... and anyway it has been working as normal with heaps of apps running, volumes worked fine, mounts for backups all worked fine, everything worked fine... until this hiccup on this third install...
Happy to start again.
On another note... I have also been using the web-based version of cloudflare tunnels to set up and configure access to this machine, the settings are done via cloudflare's webportal dashboard in a web browser from any machine on the internet instead of having to be done on my cloudron server directly via the CLI interface. As someone who has just started getting back into linux after 2 decades away these options provided me a way to get things up and running without being limited to CLI only access, which I admit I find a bit daunting still...
However, having found cloudron so awesome I am willing to drop my addiction to these GUI interfaces and step back into the CLI realm at least until I get the cloudron web-GUI back...
Seems to me that one of the goals of cloudron itself is to give people like myself a (web)GUI-based way to setup and run web-apps easily without having to use too much CLI at least for basic setups of popular webapps, so considering that it would seem to be like 99% compatible with the ubuntu desktop version already, would it be hard to support the desktop version of ubuntu for people hesitant to commit to CLI-only desktop server edition? -
@Mad_Mattho The deskop version while not supported should work. I think the issue here is something else though.
I think the issue is that the mount is mounted with some strange permissions. Did you use gnome to mount the disk? I think gnome mounts the external disk as the ubuntu user you logged in as. This would prevent the
yellowtent
user (that cloudron runs as) from accessing that mountpoint.So, can you please try this:
- Unmount the disk in gome
- Mount the disk in the Backups view as an
ext4
disk . You can use blkid or lsblk to get the uuid of the disk . Then,/dev/disk/by-uuid/<uuid>
is the Disk path.