Internal server error

Hi there,
I’ve installed nextcloud on my pi, but I’ve got a internal server error. I’ve been struggling with this error for days now and have’nt been able to find a solution or understand the underlying problem. I couldn’t find many effective solutions online, so I’m hoping someone can provide some insight into the issue. I’ve reinstalled nextcloud several times but nothing has changed. The error occurred during my first login:

Internal Server Error The server was unable to complete your request. If this happens again, please send the technical details below to the server administrator. More details can be found in the server log

Please fill out the form:

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

Expected behaviour

Actual behaviour

Extra details

as pls cab you share service status

dietpi-services status

BTW: it would be helpful to fill the troubleshooting template right from the beginning as there is reason behind.

[quote=“Jappe, post:2, topic:16397”]

Creating a bug report/issue

Required Information

  • DietPi version | v8.15.2
  • Distro version | bullseye 0
  • Kernel version | Linux DietPi 6.1.19-v8+ #1637 SMP PREEMPT Tue Mar 14 11:11:47 GMT 2023 aarch64 GNU/Linux
  • SBC model | RPi 4 Model B (aarch64)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | SanDisk 128GB

Additional Information (if applicable)

  • Software title | Nextcloud
  • Was the software title installed freshly or updated/migrated?
    freshly
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. Installed nextcloud
  2. tried to register as admin & got the error message

Expected behaviour

  • logged in as admin in the nextcloud

Actual behaviour

  • Internal Server Error

Extra details

[  OK  ] DietPi-Services | redis-server		 active (running) since Mon 2023-03-27 15:59:00 CEST; 2min 45s ago
[  OK  ] DietPi-Services | mariadb		 active (running) since Mon 2023-03-27 15:59:03 CEST; 2min 43s ago
[  OK  ] DietPi-Services | php7.4-fpm		 active (running) since Mon 2023-03-27 15:59:03 CEST; 2min 43s ago
[  OK  ] DietPi-Services | apache2		 active (running) since Mon 2023-03-27 15:59:03 CEST; 2min 42s ago
[  OK  ] DietPi-Services | cron			 active (running) since Mon 2023-03-27 15:59:03 CEST; 2min 42s ago
[  OK  ] DietPi-Services | dropbear		 active (running) since Mon 2023-03-27 15:33:35 CEST; 28min ago
[ INFO ] DietPi-Services | dietpi-vpn		 inactive (dead)
[ INFO ] DietPi-Services | dietpi-cloudshell	 inactive (dead)
[  OK  ] DietPi-Services | dietpi-ramlog	 active (exited) since Mon 2023-03-27 15:33:35 CEST; 28min ago
[  OK  ] DietPi-Services | dietpi-preboot	 active (exited) since Mon 2023-03-27 15:33:35 CEST; 28min ago
[  OK  ] DietPi-Services | dietpi-postboot	 active (exited) since Mon 2023-03-27 15:34:01 CEST; 27min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor	 inactive (dead)

can you check for last 10 lines on NC logs

tail -10 /mnt/dietpi_userdata/nextcloud_data/nextcloud.log
    {
    "file":"/var/www/nextcloud/index.php",
    "line":36,
    "function":"handleRequest",
    "class":"OC",
    "type":"::"
    }
    ],
    "File":"/var/www/nextcloud/lib/private/Authentication/Token/PublicKeyTokenProvider.php",
    "Line":401,
    "CustomMessage":"--"
    }
    }

Can you share the last 100 lines? Maybe we can see some more information. If it is to long, you can put it to a file and attach it to your reply.