nextcloud / cookbook

🍲 A library for all your recipes
https://apps.nextcloud.com/apps/cookbook
GNU Affero General Public License v3.0
519 stars 91 forks source link

New install interal server error #2392

Closed Hellothere123890 closed 1 month ago

Hellothere123890 commented 2 months ago

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)

christianlupus commented 2 months ago

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?

Hellothere123890 commented 2 months ago

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?

christianlupus commented 2 months ago

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.

Hellothere123890 commented 1 month ago

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

joshtrichards commented 1 month ago

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.

Hellothere123890 commented 1 month ago

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!