Skip to main content

Nextcloud

  1. GID/UID Mapping für ZFS Passthrough

    1. https://pve.proxmox.com/wiki/Unprivileged_LXC_containers FIX für subuid/guid:
      https://lxc-users.linuxcontainers.narkive.com/KQxz7W3Z/uid-range-not-allowed
    2. FIX für "nogroup"-Problem
      https://forum.proxmox.com/threads/unable-to-map-to-www-data-user-in-container.49695/
      pct mount CTID find /var/lib/lxc/CTID/rootfs -uid 100033 -exec chown 1005 '{}' ; find /var/lib/lxc/CTID/rootfs -gid 100033 -exec chgrp 1005 '{}' ;
    3. Verzeichnis auf ZFS umsetzen
      1. Apache in CT deaktivieren (stop +disable)
      2. Original Nextcloudfiles ordener kopieren
      3. CT abschalten und mapping + mp0 mount auf ursprüngliches datenverzeichnis vornehmen
      4. CT anschalten kopie wieder in original ordner
      5. Enable + start apache
    4. 'skeletondirectory' => '',
    5. Trusted domains -> reverse proxy ip eintragen
  2. If you just want to remove the default skeleton (no files added on first launch), do the following:

    1. open config file with vi /app/config/config.php
    2. insert line 'skeletondirectory' => ''on a new line (i to enter insert mode)
    3. press esc, then :wq and <enter> to write and save