Unable to install cloudron on ubuntu server 22.04
Lizzit last edited by
Hi everyone. I'm trying to install cloudron on my ubuntu server v. 22.04 and i'm running into an error:
Error: Some packages like nginx/docker/nodejs are already installed. Cloudron requires specific versions of these packages and will install them as part of it's installation. Please start with a fresh Ubuntu install and run this script again.
I've already installed docker on my server and I'm already using it so I wouldn't like to make a fresh install of the os.
I've tried a few things that I've found here like running this command but is still not wrking:
docker pull cloudron/mail@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029
The output that gave me this command is the following:
docker.io/cloudron/mail@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029: Pulling from cloudron/mail 7b1a6ab2e44d: Pull complete d31a421b39ea: Pull complete c76a020f512e: Pull complete 9b5e5618526c: Pull complete ed7c6b8f03d8: Pull complete c8c17ce1ab75: Pull complete efee782790c4: Pull complete 808ed6fa660f: Pull complete 1fa83f475aee: Pull complete 18d03f295db8: Pull complete 9cab82ff68f4: Pull complete 4bcaeaf4f2f6: Pull complete 5b9cc15aeb11: Pull complete 4f8c28ca9c77: Pull complete 2c132374d0c4: Pull complete 7966fbdf5523: Pull complete e7279799347e: Pull complete 7b9f10f5a3c6: Pull complete 1c8de110044a: Pull complete 3fc5bea24466: Pull complete 80d8285bbdab: Pull complete 0894df8c0d1f: Pull complete 27a6541de7d0: Pull complete 488082c15c3b: Pull complete 2469ac626830: Pull complete 3ff575c068a0: Pull complete d57d78c56c55: Pull complete da22a21498d3: Pull complete a66e38f3fe62: Pull complete 0def8839514c: Pull complete 0259ac685b11: Pull complete 7f2daa1ea009: Pull complete d8c80dd67eaf: Pull complete Digest: sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029 Status: Downloaded newer image for cloudron/mail@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029 docker.io/cloudron/mail@sha256:b8b93f007105080d4812a05648e6bc5e15c95c63f511c829cbc14a163d9ea029
I really don't know how to solve my problem. Can someone help me please?
Hi there, the check and thus failure is actually there because Cloudron requires a pristine Ubuntu installation. This is not so much a pure technical requirement, but since the stack will be deeply integrated in Ubuntu and also requires very specific versions of packages sometimes, we simply cannot support the case where users install anything on the side or tweak ubuntu configs on their own.
Lizzit last edited by
@nebulon so i'll forcely need the fresh install, right? There's no other way?
@Lizzit right most likely this is the case, especially since it is hard for a system like Cloudron to correctly detect and fixup already made changes or package installations to fit its need for a stable update-able system. To maybe say this in advance, also after having installed Cloudron, it is not supported to install other things on the side, as it will eventually break on updates in our experience.
Note that Cloudron is aiming for reducing the technical complexity for selfhosting and reduce time to maintain it, which requires some more stricter control of the system as such and we have decided on that route, since with the affordability of virtual servers it is likely much easier to just get a fresh Ubuntu rather than trying to debug configurations on updates.