Page 1 of 2
[Solved] Error with SED on installation
Posted: Tue Mar 05, 2024 1:13 pm
by lst100
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
Re: Error with SED on installation
Posted: Tue Mar 05, 2024 1:17 pm
by rogs
Hi @lst100!
Are you using a LXC or a VM?
Re: Error with SED on installation
Posted: Tue Mar 05, 2024 1:25 pm
by lst100
the os I'm trying to install yams to is on a vm in proxmox
Re: Error with SED on installation
Posted: Tue Mar 05, 2024 1:33 pm
by rogs
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
Re: Error with SED on installation
Posted: Tue Mar 05, 2024 7:51 pm
by lst100
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.
Re: Error with SED on installation
Posted: Tue Mar 05, 2024 7:54 pm
by rogs
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:
Re: Error with SED on installation
Posted: Tue Mar 05, 2024 8:05 pm
by lst100
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
Posted: Wed Mar 06, 2024 11:07 am
by lst100
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
Posted: Sun Jul 07, 2024 3:26 pm
by oleks
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
Re: [Solved] Error with SED on installation
Posted: Sun Jul 07, 2024 3:28 pm
by rogs
What version of Ubuntu are you using? @oleks?