Unexpected errors regarding access

Having any issues installing YAMS? This is the place to ask!
User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Unexpected errors regarding access

Post 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.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Unexpected errors regarding access

Post 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 :!:

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
raduman
Posts: 10
Joined: Wed Dec 20, 2023 9:46 am
Gender:
Netherlands

Re: Unexpected errors regarding access

Post 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 ✅

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Unexpected errors regarding access

Post by rogs »

Run this and send the output here:

Code: Select all

which docker
which docker-compose
YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
raduman
Posts: 10
Joined: Wed Dec 20, 2023 9:46 am
Gender:
Netherlands

Re: Unexpected errors regarding access

Post by raduman »

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

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Unexpected errors regarding access

Post 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.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
raduman
Posts: 10
Joined: Wed Dec 20, 2023 9:46 am
Gender:
Netherlands

Re: Unexpected errors regarding access

Post 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.

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Unexpected errors regarding access

Post 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/

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
raduman
Posts: 10
Joined: Wed Dec 20, 2023 9:46 am
Gender:
Netherlands

Re: Unexpected errors regarding access

Post by raduman »

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

User avatar
rogs
Site Admin
Posts: 158
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Unexpected errors regarding access

Post 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

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply