I run a mail-in-a-box server with around 100 users. Most of them aren’t aware of the Calendar and Contacts features, and I was going to tell people about it, but I noticed that Owncloud’s files module is still enabled. I don’t want people to be able to upload files to the mail server(even if it’s contained), so is there any way to disable this?
It would be nice to be able to do this from an admin panel. I do not want to enable users to use either of these features (calendar or contacts) they are simply not required by our policy and it is a nuisance to have them.
One of the annoying features in any software is compulsory “feature” adoption and I think such major bloat should be optional.
You can disable the OwnCloud / NextCloud upload features by making a new group in NextCloud specifically in the user admin panel:
Make new group
Give group max space of 0GB
set user group to new group (set for as many users as you want)
profit
if that does not work, you can physically disable the files module using occ disable:app files in the command line under the owncloud folder (I dont remember where it is but you should be able to find it)
disabling the contacts and calendar is as simple as admin panel-> apps-> calendar disable (same with contacts)
I’m afraid I am a terrible Noob at this.
Managed to log in to NextCloud with my admin but all that seems to have done is consumed more disk space. It appears just like a user no special Admin privileges.
The second option seems to be a better option though I’m not sure what impact that would have on MIAB or if it will all be undone by next upgrade?
Or indeed, if it leaves the RoundCube with the buttons and potential crash-on-click.
Ideally it would be better to have a an option during installation to opt-out of NextCloud. Useful as it seems to just consume space.
when you login to Nextcloud, login with the ORIGINAL admin account of MIAB web admin. Then in top right of the page click your profile and you will see “Admin” under it, that is the admin panel:
No change I’m afraid.- definitely been using the admin account + password ATM the only account on MAIB and I follow the link given on the admin page https://box.example.com/cloud/contacts
#####@box:/$ sudo /home/#####/mailinabox/tools/owncloud-unlockadmin.sh
/home/#####/mailinabox/tools/owncloud-unlockadmin.sh: line 11: ./mail.py: No such file or directory
I am going to unlock admin features for .
You can provide another user to unlock as the first argument of this script.
WARNING: you could break mail-in-a-box when fiddling around with Nextcloud's admin interface
If in doubt, press CTRL-C to cancel.
Press enter to continue.
Done.