NextcloudPi - cannot delete or rename files nor folders after clean install

Nextcloud version: 25.0.6.
Operating system and version: Linux 5.15.61-v8+ aarch64
Apache or nginx version: NextcloudPi 1.51.3
PHP version: 8.1.18

The issue you are facing: after the first reboot I can’t delete nor rename any files. Upload and new folders are possible. I have also tried NextcloudPi 1.52.0 with the same result. After the first reboot no user can delete or rename any files.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Install NextcloudPi and setup using the wizard.
  2. login as admin and create a user
  3. reboot

I have tried so far:

  • "sudo -u www-data php occ files:scan --all”
  • start and stop maintenance mode (because the android app said “server is in maintenance mode, when trying to delete something”

The output of your Nextcloud log in Admin > Logging:

Warnung	no app in context	Temporary directory /var/www/nextcloud/data/tmp is not present or writable	
2023-04-27T00:37:32+0200
Warnung	no app in context	Temporary directory /var/www/nextcloud/data/tmp is not present or writable	
2023-04-27T00:37:32+0200
Warnung	no app in context	Temporary directory /var/www/nextcloud/data/tmp is not present or writable	
2023-04-27T00:37:28+0200
Warnung	no app in context	Temporary directory /var/www/nextcloud/data/tmp is not present or writable	
2023-04-27T00:37:28+0200
Fehler	cron	Exception: Not installed

    /var/www/nextcloud/lib/base.php - line 680:

    OC::checkInstalled()

    /var/www/nextcloud/lib/base.php - line 1145:

    OC::init()

    /var/www/nextcloud/cron.php - line 43:

    require_once("/var/www/ne ... p")

Do you use an older SD card? If they get deprecated the raspberry goes in a kind of read only modus.

Thank you, it looks like this was the solution. I have tried another SD Card and it is running smooth.