I’m testing your MIAB on our local virtual server in our office, on an external CIFS share and have some insights to share:
symlinks needs to be enabled for setup to work (mount option - mfsymlinks)
I have encountered problem with .sqlite locking, so it also need to be included in CIFS mount (mount option - nobrl)
I have installed MIAB finally with some errors regarding Nextcloud. I haven’t planned to use it so I let them be. The errors are “Cannot write into “config” directory!” I tried to check, but in the /owncloud folder (drwxr-xr-x 2 root root) I can see only config.php file.
Right now I have set up everything (all green in Status check) and checking how the system work. Unfortunately I can not get the system to work properly:
logging to Roundcube is not possible (Invalid request! No data was saved)
next cloud is not working either (Internal Server Error)
The funny part is that I can add IMAP account without any errors but the test messages which I send to the my new email, are not registered in the mailbox. I can send email with SMTP and these emails are stored in the outbox.
Could you please tell where I can find some more logs to investigate further? I think it might be related to wrong permissions or CIFS mounting mechanism.
BTW - The installation on a local drive was flawless.
My plan is to setup everything on local disk (+check if everything works ok) and move to CIFS by rsync to keep all permissions. I have made a fresh installation and wait for DNSSEC ‘DS’ to refresh. Will post after done.
OK. For sure it is permissions problem. I need a solution for mounting external share (CIFS/NFS) in a way to keep all the permissions intact. CIFS has a way to mount a share with certain user and group, but in user-data directory there are many users, specific permissions, so this is not the way.
Decided to install second hdd on Xenserver and use it strictly for MIAB. I’m doing periodic snapshots and store the backup on my NAS (like I wanted the system to rely on NAS). In the end I got what I wanted and I do not interfere with MIAB permissions.
It is not exactly the way I wanted it to work, but it works
Thanks for SSHFS tip, murgero - it is something new to me!