Hi all,
trying to install yams on a Ubunut VM on Proxmox
I have no issues with docker-compose but immediately afer copying successfuly the file docker-compose/custom.yaml
the installation stops with a sed error:
"sed: couldn't open temporary file ./sedT2ki82: Premission denied"
the strange thing is that the name of the file changes: it is not the same after repeated attempt to install (bash install.sh)
Tried to look around but can't find any solution.
The sed version is 4.8 (latest version apparently fixed exactly this issue in other instances).
I appreciate any help you can give.
Thanks in advance
[Solved] Error with SED on installation
[Solved] Error with SED on installation
- rogs
- Site Admin
- Posts: 158
- Joined: Mon Oct 23, 2023 12:53 pm
- Location: Montevideo, Uruguay
- Gender:
- Contact:
Re: Error with SED on installation
Hi @lst100!
Are you using a LXC or a VM?
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
Pirate jet, pirate jet
Re: Error with SED on installation
the os I'm trying to install yams to is on a vm in proxmox
- rogs
- Site Admin
- Posts: 158
- Joined: Mon Oct 23, 2023 12:53 pm
- Location: Montevideo, Uruguay
- Gender:
- Contact:
Re: Error with SED on installation
Can you provide more information? It's very hard to debug this way.
- What's your Ubuntu version?
- Are you installing YAMS with an user that has the correct permissions?
- Are you changing the default install location?
Also, send your installation process in a Pastebin and make sure to obscure your VPN credentials
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
Pirate jet, pirate jet
Re: Error with SED on installation
hi Rogs, thanks for trying to help.
Sorry but have no familiarity with the Postebin and not sure what you mean by installation process.
I'll try and give as much info as possible here and will be happy to give all the info needed.
So the machine has proxmox 8.1.3
On that I created a VM with Ubuntu Desktop 22.04.4 LTS
On this I installed Samba to connect to NAS via Samba share and mapped the NAS to /mnt directory
I installed Docker and Docker-compose previously, before trying to install YAMS
I followed the install notes on yams.
Made sure I don't need sudo to run Docker commands.
Tried different combination of choices about VPN and media servers, all not working.
Used the default suggestion for the folders: /tmp/yams and /opt/yams
As mentioned when I get to use: bash install.sh I see the first 3 checks:
docker-compose-example.yams was copied successfuly
.env.example was copied successfuly
docker-compose.custom.yams was copied successfuly
Then I get the sed error:
sed: couldn't open temporary file ./sedJe35yb: Permission denied
I checked the writing permissions on the folders. Here is what I get:
This is all the info I can think it could be relevant.
Sorry if I am missing something, I am not an expert (as you can clearly see )
I'll be happy to give any other infor needed.
Thanks very much for taking the trouble to help.
- rogs
- Site Admin
- Posts: 158
- Joined: Mon Oct 23, 2023 12:53 pm
- Location: Montevideo, Uruguay
- Gender:
- Contact:
Re: Error with SED on installation
Send the installation logs using https://pastebin.com/. Just copy and paste the installation process, create a link and send that link here.
How did you install docker? Please, send the output of:
Code: Select all
which docker
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
Pirate jet, pirate jet
Re: Error with SED on installation
ok, will do Rogs
Thanks again for your help.
I will do what you say tomorrow with a bit more time.
Re: Error with SED on installation
Hello Rogs,
unexpectedly this am I got through the installation without the sed error.
Tried to chase what happened inside the VM but did not manage to find anything.
What happened earlier in the am, was that I had a strange network error on the Proxmox machine (mapping the wrong ip address for gateway.
So I corrected the address and run update/upgrade.
When I started the VM again trying to document the installation process I got through and everything worked fine.
Let me know if you want me to investigate more about that sed error, I'll try my best to help.
Once again, thanks for your help on this issue.
Re: [Solved] Error with SED on installation
hi @rogs , I got the same error. Installing via Proxmox on VM. Not on root user, ubuntu. Here is a pastebin https://pastebin.com/yJGTL1eB . Any help will be much appreciated! not a pro linux user
- rogs
- Site Admin
- Posts: 158
- Joined: Mon Oct 23, 2023 12:53 pm
- Location: Montevideo, Uruguay
- Gender:
- Contact:
Re: [Solved] Error with SED on installation
What version of Ubuntu are you using? @oleks?
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
Pirate jet, pirate jet