Install fails (unauthorized: authentication required)
-
Hi,
I'm running into an authentication error while installing Cloudron:molivier@ubuntu:~/Downloads$ sudo ./cloudron-setup ############################################## Cloudron Setup (latest) ############################################## Follow setup logs in a second terminal with: $ tail -f /var/log/cloudron-setup.log Join us at https://forum.cloudron.io for any questions. => Updating apt and installing script dependencies => Checking version => Downloading version 6.1.2 ... => Installing base dependencies and downloading docker images (this takes some time) ...Init script failed. See /var/log/cloudron-setup.log for details
Log:
echo -e "\tPulling docker images: ${images}" Pulling docker images: cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4 cloudron/turn:1.2.0@sha256:4359aae80050a92bae3be30600fb93ef4dbaec6dc9254bda353c0> for image in ${images}; do docker pull "${image}" docker pull "${image%@sha256:*}" # this will tag the image for readability done Error response from daemon: unauthorized: authentication required
Seems like the init script runs into an authentication error here, but I can't seem to find out which docker image is throwing authentication errors https://git.cloudron.io/cloudron/box/blob/5a7e636f2d5fee2c3c5bec166e61ab4bcaa41531/baseimage/initializeBaseUbuntuImage.sh#L89
Am I doing something wrong?
Thanks!
-
@mmolivier Were you logged into docker by any chance before you ran the installation script? Can you do
sudo docker logout
and then just rerun the script again? Another thing to quickly try is to run the script as root user instead of via sudo.(I just ran the install script here as root user and it did work just fine now. I am trying via sudo in the meantime).
-
It seems to work fine with sudo as well.
girish@ubuntu-s-1vcpu-2gb-nyc1-01:~$ sudo ./cloudron-setup ############################################## Cloudron Setup (latest) ############################################## Follow setup logs in a second terminal with: $ tail -f /var/log/cloudron-setup.log Join us at https://forum.cloudron.io for any questions. => Updating apt and installing script dependencies => Checking version => Downloading version 6.1.2 ... => Installing base dependencies and downloading docker images (this takes some time) ... => Installing version 6.1.2 (this takes some time) ... => Waiting for cloudron to be ready (this takes some time) .... After reboot, visit https://68.183.97.196 and accept the self-signed certificate to finish setup.