ReinerNippes / nextcloud

Ansible playbook to install nextcloud, php, nginx or apache, mariadb or postgres, redis-server, onlyoffice or collabora office
MIT License
410 stars 142 forks source link

Open suse #130

Open ggeorgg opened 2 years ago

ggeorgg commented 2 years ago

Work in progress for #124 Playbook will run through with MariaDB + NGINX + SelfSigned Certificate + php7 on OpenSUSE Tumbleweed. Other configurations will not work at all yet. OpenSUSE Leap 15.3 is currently missing some official php packages. I think also for php8 not all packages are available yet.

Unfortunately, on the OpenSUSE Tumbleweed system I only get an "Internal Server Error" when accessing the nextcloud web page... I will try to test if the playbook succeeds on a OpenSUSE Leap 15.2 system. (At least, my production server runs Leap 15.2, so it should work in the end!)

ggeorgg commented 2 years ago

I found some errors. I will try to push them in the next days.

ggeorgg commented 2 years ago

Ok. So basically, this branch is working now for

with the following settings:

without using the roles collabora, onlyoffice, coturn or elasticsearch.

There are at least two things which should be discussed:

  1. The ssh user will be put into the group "wheel" and "NOPASSWD" will be activated for the users in group wheel.
  2. the apparmor profile php-fpm will be disabled on openSUSE Leap 15.4 and on openSUSE Tumbleweed. I think it would be better to find out what exactly needs to be changed in the profile to keep it enabled. @ReinerNippes: Can you please have a look at the changes and merge this branch into the nextcloud-reloaded branch?
ggeorgg commented 2 years ago

I recognized, that there is still some kind of problem. After a reboot, the nextcloud interface is not reachable anymore (tested on openSUSE Leap 15.4) and I don't know why. Maybe someone has a clue, what's going wrong here...