Solved unable to run on ubuntu 20.04
moussan last edited by girish
i cant seem to get cloudron to function correctly.
i go through the installation process but get a notice to check the installation log.
see below, where is the issue.
when i go to the installation ip, i see an nginx page stating it is installed but probably not configured correctly.
can anyone help please.
root@server:~# nano /var/log/cloudron-setup.log
did the installation process not finish?
@moussan indeed it looks like the journald config step is failing with:
2021-10-12T14:25:53 ==> start: Configuring journald setfacl: /var/log/journal/*/system.journal: No such file or directory
Which VPS provider is this?
I fixed this exact issue in https://git.cloudron.io/cloudron/box/-/commit/73315a42fef03bc144fdfd707b8a6d5905733109 since it was failing in time4vps servers.
mkdir -p /var/log/journal/foo && touch /var/log/journal/*/system.journal. Then run the setup script again.
@msbt i removed the setfacl entirely. is that what you are asking?
@girish no, the line with
chown root:systemd-journal /var/log/journal, that was always running before, now only in the if condition, not sure if it's required though
@msbt ah, got it. The
ifblock should ideally never run. It should only run on distros which do not have
/var/log/journal(I don't understand why it's not there on some specific VPS, some ubuntu or provider flakiness).
@girish that's what I meant, the cmd ran always before, but now only in the rare case the directory isn't there