Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookbook does compatible Nextcloud 28 ? #2273

Open
damda58 opened this issue Apr 25, 2024 · 13 comments
Open

Cookbook does compatible Nextcloud 28 ? #2273

damda58 opened this issue Apr 25, 2024 · 13 comments
Labels
Backend Issue or PR related to the backend code bug Something isn't working stalebot-enabled The PR/issue is marked to go stale over time

Comments

@damda58
Copy link

damda58 commented Apr 25, 2024

Description

Good morning,

I can no longer create a recipe manually, when I save I get this message:

Reproduction
Steps to reproduce the behavior:

  1. Go to add recip
  2. Click on save

Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior
Please describe in clear statements what is happening in reality.

Screenshots
image

image

Browser
Opera GX based on chromium 121.0.6167.186

Versions
[Nextcloud Hub 7] (28.0.3)
Cookbook version: 0.11.0
Database system: MySQL 10.3.39

@damda58 damda58 added the bug Something isn't working label Apr 25, 2024
@christianlupus
Copy link
Collaborator

Hello. This indicate that the server had a significant problem to fail. Honestly, I cannot tel you from these log right now what the problem is.

Do you have access to the server on root level or at least to the file system? If yes, you could enable the debug logging in config.php by setting debug to true. Could you then open the network tab (you were in the console tab of the web developer tools) click on the failed request and see if there was a backtrace logged (together with an error message)? That might bring us to the position where we can track down the problem.

Thanks and sorry for the inconvenience.

@christianlupus christianlupus added Backend Issue or PR related to the backend code stalebot-enabled The PR/issue is marked to go stale over time labels May 16, 2024
@xundeenergie
Copy link

The same on Nextcloud 29.
Cookbook does not work since NC 26.
I can read recipies, but i can not import or write my own.

@christianlupus
Copy link
Collaborator

I have a development environment with NC 28 running at the moment. There the version 0.11.0 (and 0.11.1-rc1 released today) was tested and checked for "browsability". There, I do not face any 500 return codes.

Top get a clue on what is happening, you could generate a stack trace as I already mentioned. Otherwise it is just wild guessing what causes the problem.

@damda58
Copy link
Author

damda58 commented Jun 2, 2024

Good morning,
Thank you for your feedback and sorry for my “non-response”. I understand that it is not possible to see this problem without a trace. I try to make some that I have for a while and will report back 😁.

Copy link

This issue was not updated for 45 days. It is therefore marked as stale. When no update occurs within the next 7 days, this issue will be closed automatically in the next 7 days.

@github-actions github-actions bot added the stale The PR/issue is marked as stale label Jul 18, 2024
@LaurentGui
Copy link

I have the same problem on Nextcloud Hub 8 (29.0.4)
I can read recipies, but i can not import or write my own.

@github-actions github-actions bot removed the stale The PR/issue is marked as stale label Jul 24, 2024
Copy link

github-actions bot commented Sep 7, 2024

This issue was not updated for 45 days. It is therefore marked as stale. When no update occurs within the next 7 days, this issue will be closed automatically in the next 7 days.

@github-actions github-actions bot added the stale The PR/issue is marked as stale label Sep 7, 2024
@damda58
Copy link
Author

damda58 commented Sep 7, 2024

Good morning,

For my part I wanted to make traces by putting Nextcloud in debug but it works again

@github-actions github-actions bot removed the stale The PR/issue is marked as stale label Sep 8, 2024
@christianlupus
Copy link
Collaborator

OK, this seems like a environment problem to me. On Sep 07th there was no release published (or shortly before that) that could have fixed stuff. If @LaurentGui or @xundeenergie have the problem still reproducible, we can try to get a stack trace and debug stuff if you like.

@xundeenergie
Copy link

I've a problem...

I xan not test to import recipies... because i tried https://www.gutekueche.at/kuerbissuppe-mit-butternut-kuerbis-rezept-22285

From this site i imported a lot of recipies... but now they changed to payorok and cookbook can't find a parsable rfcipie on this site.

https://ichkoche.at the same.

@LaurentGui
Copy link

Hi, The problem is still occurring. Please let me know what I can do to help you find out what's causing the problem, because at the moment I can't create a recipe at all, even without importing it.

@christianlupus
Copy link
Collaborator

The first hint that I need is the reason why you get failures. To do so, please do the following:

  1. Put (temporarily) the entry 'debug' => true in your config/config.php of the Nextcloud server.
  2. Open a browser navigate to a URL that you can quickly reach the offending site/button
  3. Open browser console (press F12 typically)
  4. Do whatever causes the trouble
  5. Go in the browser console to the network tab and look for a failing request (with status 500 typically)
  6. Click on it to get all the details. Go to output. You see a (non-styled) error page of NC. Here is a faked example:
    image
  7. Send me the data under trace and previous to get the location of the problem (here I just intentionally created a bug to show it).
  8. Remove or comment out the line from 1.

@LaurentGui
Copy link

LaurentGui commented Sep 20, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Issue or PR related to the backend code bug Something isn't working stalebot-enabled The PR/issue is marked to go stale over time
Projects
None yet
Development

No branches or pull requests

4 participants