Hi,
There are two problems with my installation:
[core@marwan discourse]$ sudo ./discourse-setup
which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
WARNING: Discourse requires at least 2GB of swap when running with 2GB of RAM
or less. This system does not appear to have sufficient swap space.
Without sufficient swap space, your site may not work properly, and future
upgrades of Discourse may not complete successfully.
Ctrl+C to exit or wait 5 seconds to have a 2GB swapfile created.
install: cannot create regular file '/swapfile': Operation not permitted
fallocate: cannot open /swapfile: Operation not permitted
mkswap: cannot open /swapfile: No such file or directory
swapon: cannot open /swapfile: No such file or directory
/swapfile swap swap auto 0 0
vm.swappiness = 10
Failed to create swap: are you root? Are you running on real hardware, or a fully virtualized server?
[core@marwan discourse]
- Docker is installed, but I’m still getting:
which: no docker.io in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
- The
discourse-setup
script cannot create a swapfile. I tried to do it manually, and I got the same error.
I’m running Fedora CoreOS 32 amd64. I’m pretty sure the second issue is an SELinux issue, but I’m not sure the reason behind the second one. How could I fix them?
Thanks.