Page 2 of 2

Re: Unexpected errors regarding access

Posted: Wed Dec 20, 2023 11:43 pm
by rogs

Ok, this is a good error to debug, and I know exactly what's wrong: Did you install docker with Ubuntu or with YAMS?

If you installed it with Ubuntu, then you installed the Snap version which will not work with YAMS. Snaps run in a sandbox mode and don't have privileged access to the OS. The fix for this is to uninstall the Snap version of docker and install the one that comes with YAMS.


Re: Unexpected errors regarding access

Posted: Wed Dec 20, 2023 11:44 pm
by rogs

If you prefer to install Ubuntu server from zero, make sure not to install Docker with the installer. It doesn't work with YAMS :!:


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 11:26 am
by raduman

Hi,

Thanks again for taking the time to reply and point me in the right direction. I have uninstalled any trace of docker and docker compose, but the installer still reports them as being there. Is there something else I can do except reinstalling the whole ubuntu OS?

Checking prerequisites...
docker exists ✅
docker-compose exists ✅


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 11:33 am
by rogs

Run this and send the output here:

Code: Select all

which docker
which docker-compose

Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 11:36 am
by raduman

root@TC-Radu:~# which docker
/snap/bin/docker
root@TC-Radu:~# which docker-compose
/snap/bin/docker-compose


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 11:54 am
by rogs
raduman wrote: Thu Dec 21, 2023 11:36 am

root@TC-Radu:~# which docker
/snap/bin/docker
root@TC-Radu:~# which docker-compose
/snap/bin/docker-compose

Yep, you haven't uninstalled docker. You still have the snap versions installed. You need to uninstall those versions before you can continue installing YAMS.


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 11:58 am
by raduman

What else should I do?

sudo apt-get remove docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose docker-compose-v2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'docker-compose' is not installed, so not removed
Package 'docker-compose-v2' is not installed, so not removed
Package 'containerd.io' is not installed, so not removed
Package 'docker-buildx-plugin' is not installed, so not removed
Package 'docker-ce-cli' is not installed, so not removed
Package 'docker-ce' is not installed, so not removed
Package 'docker-compose-plugin' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 12:08 pm
by rogs

You are not using the right package manager (apt). You need to remove the snap version.

Check this: https://itsfoss.com/remove-snap/


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 12:28 pm
by raduman

Many thanks from an old systems engineer... 25 years ago, Linux was way less complicated... no snaps back then...


Re: Unexpected errors regarding access

Posted: Thu Dec 21, 2023 12:34 pm
by rogs

Yeah, I know your pain... Snaps sucks :mrgreen: That's one of the main reasons I don't use Ubuntu, they install a lot of stupid unnecessary crap on top of the OS