cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

New install interal server error

Open Hellothere123890 opened this issue 1 year ago • 4 comments

Description I have a new installation of Nextcloud using docker, when I install the app and click on the icon all i receive is an internal server error.

Reproduction Steps to reproduce the behavior:

  1. Install next cloud
  2. Download an enable cookbook
  3. Click on the cookbook icon
  4. See error

Expected behavior Be able to use the cookbook page

Actual behavior internal server error, see screen shot

Screenshots nextcloud_error_screenshot

Browser Vivaldi Arch linux extra 6.8.3381.44-1

Versions Nextcloud server version: 29.0.2 (dockerhub latest) Cookbook version: 0.11.0 Database system: MariaDB

(Edit: wrong screenshot)

Hellothere123890 avatar Jun 26 '24 00:06 Hellothere123890

I just tried with the development environemnt and I did not see a problem installing the app. Can you enable the debug mode and see if you can post the backtrace?

christianlupus avatar Jun 26 '24 12:06 christianlupus

I am new to this debugging thing. I was able to look up and enable debug. But I am confused, by back trace to you mean the logs?

Hellothere123890 avatar Jun 27 '24 01:06 Hellothere123890

I meant to enable the debug mode by setting 'debug' => true in config.php of your instance. That should make the error more verbose (reset to false after you are done). It will report in the frontend (browser) as well as the logs.

christianlupus avatar Jun 27 '24 18:06 christianlupus

I was looking through the logs and this is the line that kept popping up that seems relevant to cookbook: GET /apps/cookbook/ HTTP/1.1" 500 3255 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Hellothere123890 avatar Jul 01 '24 06:07 Hellothere123890

You need to take a look at your Nextcloud Server log, not your web server log. Check nextcloud.log in your data directory. It should have the context for the error. An Internal server error is just a generic message when there's a serious enough problem to stop Nextcloud until whatever is going on is remedied.

joshtrichards avatar Jul 11 '24 21:07 joshtrichards

Hello, I have decided to just reinstall next-cloud all over-again and install cookbook. It seems to be working fine now so I will just roll with it. Thank you for your help even though I wasn't every helpful along the way!

Hellothere123890 avatar Jul 23 '24 23:07 Hellothere123890