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

Broken since 14, due to the apps list it seems. #101

Open
1 task
jospoortvliet opened this issue Nov 9, 2019 · 6 comments
Open
1 task

Broken since 14, due to the apps list it seems. #101

jospoortvliet opened this issue Nov 9, 2019 · 6 comments

Comments

@jospoortvliet
Copy link
Member

jospoortvliet commented Nov 9, 2019

Our survey server has no data newer than Nextcloud 14. Just testing it, I could send a report on my local instance - but it contained barely any data. It didn't work on my normal instance, until I disabled:

  • App list (for each app: name, version, enabled status)

Sadly the logs say nothing and there's no command line way to call this either.

The console shows:

POST https://cloud.josandcamila.com:444/ocs/v2.php/apps/survey_client/api/v1//report?format=json 500 (Internal Server Error)
  send @ jquery.js:8630
  ajax @ jquery.js:8166
  (anonymous) @ admin.js?v=40d0545e-81:35
  dispatch @ jquery.js:4435
  _.handle @ jquery.js:4121

server log just gives:

192.168.1.167 - - [09/Nov/2019:22:29:10 +0100] "POST /ocs/v2.php/apps/survey_client/api/v1//report?format=json HTTP/1.1" 500 6066 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
@nickvergessen nickvergessen self-assigned this Nov 9, 2019
@kesselb
Copy link
Contributor

kesselb commented Nov 10, 2019

Send new report button works for my 16.0.6 instance.

@nickvergessen
Copy link
Member

Works also fine here for me.

Can you check the nextcloud log file? That should contain a bit more info about the 500 error, not the accesss log of your server

@AMDG2
Copy link

AMDG2 commented Dec 3, 2019

I can confirm that sending the report doesn't work today when checking app list. I was not able to get any log from nextcloud, apache and/or php-fpm.

@nickvergessen
Copy link
Member

After receiving a 500, there should be something in the nextcloud.log file in the data directory.

@jospoortvliet
Copy link
Member Author

works for me in my 18 beta 1 environment... I tried to upgrade my Nc 17 to 18 but sadly it is now broken so I couldn't test it on that 🍴

@nickvergessen nickvergessen removed their assignment Mar 17, 2022
@danxuliu
Copy link
Member

After receiving a 500, there should be something in the nextcloud.log file in the data directory.

For reference, the missing logs could happen if the error 500 was triggered because the survey server can not be accessed, as in that case the error 500 is explicitly generated rather than as a consecuence of an exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants