-
Notifications
You must be signed in to change notification settings - Fork 7
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
fresh install Nextcloud Hub 5 (27.0.1) Could not fetch data #42
Comments
Hey, did you create the analyst groups and shift calendar like described here: #41 (comment) We will add these setup steps to the ReadMe in the future. |
Hello You are right it is working, need to add it in the readme file. I have an another instance which is not working and the administration panel for shift isn't working. May be I will make an another issue for that, i ll try to find out. |
That the admin settings panel is not loading is strange. Maybe you can send the logs for that if they do not contain sensitiv information? |
I have a similar issue with NC 27.1.1, (upgraded from original NC 24, in various steps) Shiftplan was only added after upgrade to v. 27.1.1. -- Shiftplan v 1.9.3 Here the Admin panel is showing "loading..." with the notification: "Could not Fetch Settings" and nothing else happening.
The next one is about a workflow task running from cron. Next run:
Tables are created i think: (these are the ones).
How to reset tables in the Database? Those are all ready empty. I n attempt 1 I did create groups (different names), in attempt #3 i create groups "Analyst", "Level 1" and "Level 2" |
This is shown in the Browser Console:
|
To top it off: access.log (nginx)
Database records:
|
To be clear, the system was version 27.1.1 (Hub 6) BEFORE installing Shifts. https://xxxxxxx/settings/admin/shifts --> only shows loading. Further possible background info: mariadb is used a DB backend. (Although i don;t expect that does matter). imho the real issue is in
(from the browser console log above) I think it matches up with this error from nextcloud:
Editing route.php from
into
Does make the settings work........ so something goes wrong in route.php |
Saving settings still fails with 405 error though.
Which means method not allowed... PUT. The issue most probably is related to nginx not allowing POST/PUT request to items that are read only.... |
This might both be an nginx condition. replacing:
into
changing the adding a / and the 405 error, no adjustment to routes.php needed. |
This is not a complete solution as now the settings can be done, still no options are shown to users in the ShiftsAdmin group, so it still is a read only empty environment. Not sure what is wrong there. |
The above is no solution as it fails URI's without terminating / like ocm-provider / ocs-provider. |
Have you created some shift-types that can be shown as available shifts in the overview? |
Similar Issues with NC 27.1.2 and PostgreSQL 13.11 different NC install NC 27.1.2 and mysql 10.5.16 I can't create shifts or anything. :( Shifts is installed via Appstore and Version 1.9.3 is shown. |
@eweinhold Does the error still occurs? |
If the error occurrs again, please open a new issue. I'm closing this one for now. |
@csoc-kevink Is it possible to use non-pretty URLs https://site/index.php/......... for put/post type links? From old nginx release notes:
Note: I cannot reopen the issue. |
Example request.
And with a 404 Error which makes more sense. |
Hi @noci2012, i'm not sure what you exactly mean with "non-pretty URLs". The URLs are handled by nextcloud itself and not the shifts app. The only thing I can do is defining the handler for requests. I cannot change the URL. |
'pretty" - URL is another name for URL's not exposing some technology... like the use of PHP scripting. These urls in nginx go through: (last chance handling) ANY URL that has: .php/ or .php (end of string) is handled with a block like so a url in the form of So without a query including index.php shifts will NEVER be activated correctly... causing errors. |
Hello
With a fresh installation I got the following error Could not fetch data while trying to display Shifts.
The Administration panel seems to work fine.
192.168.1.92-1691005547492.log
192.168.1.92-1691005562677.log
The text was updated successfully, but these errors were encountered: