Iโm running Nextcloud using the official nextcloud:fpm Docker image. However, upon startup, not all files are copied into /var/www/html, even though they are available in /usr/src/nextcloud/ inside the container.
Only the following files are copied:
3rdparty composer.json console.php cron.php index.php occ package-lock.json remote.php status.php
AUTHORS composer.lock COPYING index.html nextcloud-init-sync.lock package.json public.php robots.txt
But folders like config/, apps/, core/, and lib/ are missing, causing the installation to fail.
Expected behavior: On first startup, Nextcloud should copy all necessary files to /var/www/html (or the mounted volume).
Has anyone else experienced this issue? Is there a workaround to force Nextcloud to properly copy all required files on startup?