Page 1 of 1

[Solved] Failure to launch(version 3)

Posted: Sat Feb 15, 2025 5:46 pm
by Linubis

Im lost, created new vm includes Ubuntu, updated
Sudo mkdir -p /opt/yams
Sudo chown -R $user:$user /opt/yams
Git clone --depth 1 https://gitlab.com/rogs/yams.git /tmp/yams
Cd /tmp/yams
Bash install.sh

Yams begins installs docker
Enter for my username
Enter for install directory/opt/yams
Enter for media directory/srv/media
Are you sure type y and hit enter

Directory does not exist, attempting to create
Mkdir:cannot create directory permission denied

Groups $user
$user adm cdrom sudo dip plugdev lxd docker

Ls -l /var/run/docker.sock
Srw-rw---- 1 root docker

So what is going on? On my previous several attempts i never had this issue. I know i am a newb but isnt this showing that i do have permissions? I CAN run hello-world. So what/where did i mess up?

Im writing all these steps down to be sure to not mess stuff up. Usually when i mistype something tells you it failed. So far this seems to let me go along but this snag has got me stumped. Searches are no joy.

Is this something i set up wrong in my vm? Did i miss a step or mess up here somehow. Its probably plain as day but i cant see it!!!!

If my username has root permissions how do i not have permission!?


Re: Failure to launch(version 3)

Posted: Sat Feb 15, 2025 6:27 pm
by rogs

Hey @Linubis!

Make sure your user has access to the directory you are trying to install a YAMS or your media directory.

Cheers!

Roger.


Re: Failure to launch(version 3)

Posted: Sat Feb 15, 2025 11:23 pm
by Linubis

Thank you Roger, i was trying to understand where in this process this happens. Was i not doing that when creating the opt/yams and tmp/yams?


Re: Failure to launch(version 3)

Posted: Sat Feb 15, 2025 11:26 pm
by rogs

But you are having problems with your media directory. Create it first and add the correct permissions


Re: Failure to launch(version 3)

Posted: Sun Feb 16, 2025 10:03 am
by Linubis

Ok thank you. Too simple. Like i said right in front of me.