Closed broady closed 5 years ago
Running with sudo
works.
I attached strace to the ansible-playbook process, and see this:
lstat64("/dev/shm/oZq735", 0x7e9cf938) = -1 ENOENT (No such file or directory)
open("/dev/shm/oZq735", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EACCES (Permission denied)
write(2, "\33[0;31mERROR! Unexpected Excepti"..., 93ERROR! Unexpected Exception, this is probably a bug: [Errno 13] Permission denied
A better error message would be good.
Running sudo chown $USER /dev/shm
allows me to proceed. I don't know if this is the right fix.
Installation seemed to mostly work, up until...
TASK [common : Loopback for services configured] *********************************************************************************************************************************************************
changed: [localhost]
failed: [localhost] (item=systemd-networkd) => {"changed": false, "item": "systemd-networkd", "msg": "Service is in unknown state", "status": {}}
failed: [localhost] (item=systemd-resolved) => {"changed": false, "item": "systemd-resolved", "msg": "Service is in unknown state", "status": {}}
You didn't include the whole log from your last try
Raspberry Pi running Ubuntu
What version?
It's at the bottom of the first message.
Algo running on: Ubuntu 16.04.5 LTS
Maybe systemd woes might be due to the chroot of classic mode in Ubuntu Core? I entered a shell via sudo classic
, which still seems limited.
Edit: oh, I see. Maybe Ubuntu 16 is too old?
Ubuntu 16.04.5 LTS
We support only 18.04, sorry
Can you add some detection for this requirement? It would have been good to know that I just need to get a newer Ubuntu instead of messing around for over an hour :(
Happy to file a different bug.
It's in the main readme actually https://github.com/trailofbits/algo#features
It's in the readme and I read it, but still, I ended up installing Ubuntu 16.
I assumed that the latest version on Ubuntu's website would be compatible, but it wasn't.
In any case, can you really assume people will read through the entire README? I've worked on developer products for around 10 years. I learned early on that people don't read documentation. Products need to provide good error messages when something goes wrong.
All right. Some notes should be added either to the troubleshooting guide or directly to the error message. After an error occurs we need to ask the user to check if they are running the supported system and cloud providers
Describe the bug
I tried running algo installer script on Raspberry Pi running Ubuntu.
Output is "Unexpected Exception, this is probably a bug: [Errno 13] Permission denied".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Algo installer runs without errors.
Full log