thats my fault. I am folowing th instuction to aktivate admin on Nethserver side. So Nextcloud is using this one. I had to deaktivate them in cockpit …
Yes that was the faul aktivat the admin on Nethserver (groups and users) side
Now i can loogin as the Nextcloud admin
“Ich krieg schon nach einem Tag Lagerkoller …” überigens sind in Deutschland nun dreier verboten
I can confirm that this “External Storage” feature of Nextcloud works VERY well.
I am / was migrating their Win2003 SBS to NethServer (Proxmox VM). As a file server, there were about 1 TB in folders to be shared.
NethServer / Nextcloud mounted these “Shares” in NextCloud from the Win2003 SBS, and I just changed the Mount to now point back to the NethServer, the W2003SBS is no more fileserver and has no more shares…
All work very well!
My 2 Cents
Andy
Auch trotz schönes Wetter - oder grad deswegen - Lagerkoller kommt auf…
nomaly i am not so confused but now i try all mistakes ich can found. I am shure that is working. But i dont find a way to config them (system is very fresh).
As admin: External storag is activ. when i am looking in files
On first setup, you need to login to Nextcloud with User admin, PW: Nethesis,1234
Then, activate LDAP. I advise using a group called nextcloud-users, and only allow users of that group - otherwise all system users will also be visible in Nextcloud…
Then, under Users, give admin permission to the NethServer Admin (And maybe other users).
After that, don’t forget to change the NextCloud admin Users Password (And write that down!), even though you’ll most likely never need to use that user again, as all users with admin permissions in Nextcloud are enough.
Then go - as admin - and install and activate “External Storage” under Apps.
Configure “External Storage” under Settings (Einstellungen).
Note: There are “Admin” configured External Storage and Private ones, each has to be activated by the admin. The Private storage is meant for eg the Users home directory.
The rest are typical “Shares” like on any Windows…
See these Screenshots from my home server (NethServer!):
AD users also show up, but nobody except the built in admin(Of Nextcloud, not NethServer) has permissions to really do anything!
You need to use that user for the first real setup of Nextcloud, no matter if LDAP or AD…
LDAP doesn’t allow authenticated shares, only a sort of “public” access for all shares.
That doesn’t cut it for me, I need authenticated access for file sharing.
And NethServer only allows AD for authenticated shares…
But it works very well.
Nextcloud hat einen internen User, der heisst admin, dies hat aber NICHTS mit dem admin von NethServer zu tun!
Passwort darf nicht gleichgesetzt werden mit dem Nethserver admin, sonst kann man diesen User nicht mehr erreichen, bzw. nicht mehr mit diesem User anmelden.
Dazu kommen:
Beliebige LDAP oder AD User…
Damit nicht ALLE User im Nextcloud erscheinen, steuere ich das mit eine Gruppe, eben “nextcloud-users”. Nur diejenigen User, die auch mitglied dieser Gruppe sind können in NextCloud anmelden, bzw NextCloud überhaupt nutzen.
Ach so langsam komme ich dahinter. Auf das Admin und Admin Problem bin ich zuerst gestossen. Hab mit einem Snapshot nochmal angefangen.
Derzeit geht es ohne LDAP/AD Einstellungen also alle. Nun versuche ich diese zu verstehen werden. Die normalen User habe ich schon zei gruppen zugeordnet.
Hab auch mit letsencrypt einen Zertifikat für dei Subdomain eingerichtet und die Prorts freigegeben 80+443. Man kann sich intern und extern einloogen. Hab dann Trustet Domain eingetragen und virtual host frei gelassen. Nun ist er aus dem Internet erreichbar.
An einem Winows 10 Clienten läuft schon der Nextcloud Client und hat sich gesycnt.
Sogo ist auch erreichbar. Leider der Nextcloud Admin auch von Extern
Hab eine zweite VM mit einem Samba ganz flat ohne User und Passwort mit zwei shares, diese sollen je einer Gruppe zugeordnet werden … Ja nicht schön aber erstmal quick und dirty.
Wenn ich das bei dir Richtig gesehnen habe gibst du eine Gruppe für Nextcloud User geschaffen und diese dann freigegeben. Gilt das dann nur fürs anmelden ?
Oder muss ich für den Admin (Nextcloud) noch was tun damit man an den Externen speicher darf? Wie ist das mit den Mountpoints gemeint ?
Ja schlimm heute mit der Verwirrung … und sie wird nicht besser nun habe ich die beiden gruppen eingestellt und dann von aussen keinen Zugriff mehr, acu wenn ich sie wieder entferne
Ich versuche auf deine 2 Fragen eine Antwort zu geben:
Gruppe ( nextcloud-users ) dient nur dazu, dass nicht alle User in Nextclous erscheinen. Ich verwende einige “System- / Dienst-User”, die will ich nicht in Nextcloud angezeigt bekommen…
Admin / Externe Storage einbinden…
Das Einbinden von Externer Storage kann nur jemand mit admin Rechte freigeben. Ich benutze AD, und verwende den LDAP Tool in Nextcloud, meinen Zugriff (Wie im Bild oben) auf die Gruppe nextcloud-users einzuschränken.
Zusätzlich gibt der Admin die Externe Storage als Share frei, ich verwende die gleichen Namen wie der original Freigabe. Der Screenshot oben sollte helfen, was wo einzugeben ist.
Ganz am Schluss des freigebens, unbedingt prüfen mit dem Häkchen rechts.
Wenn links grün zeigen sollte, ist’s gut!
Andy
PS:
Sorry for using not using english, but it’s to clarify things specifically for this use…
most of my mistakes are sitting between my ony ears
but now the Nextcloud ist running and externl storage to
Whats wrong i am installing Onlyoffice and that was brocken. For that moment Nextcloud was not running fine. Then i moving back to the last snapshot (XCP-NG) and dothe same work again. Without Onlyoffice…
The fresh Nextcloud was running fine. Login was possible with Email and User. Than i follow Andy instruction. Using the LDAP/AD to change the rigths and use a Groups in persons to let that members of the Groups using Nextcloud.
What i am not understand was, this moment changing the kind of Login to. I am trying Email but LDAP/AD says only User … But by myselfs i dint changing nothing … So default is not default. That was lill bit craesy.
Next was im using the wrong External Storage entry (Nexclout Web) and looking in Files but that was wrong …
thx for your support and help
I like build a How to for using Nethserver 7.7 as a VM in XCP-NG with XCP-Center.