-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Handle IPv6 addresses in trusted_domains
/ error: Trying to access array offset on false
#1998
Comments
That looks like an upstream (Nextcloud server) issue. Please check if it is fixed after the next nextcloud update. You can either run EDIT: Nevermind, I missed the fact that you have already updated to 30.0.1 (which was not officially supported at the time). Then you don't really have the option to update until the next NC version hits. |
It seems to be related to nextcloud/server#49370 & nextcloud/server#48820 |
If ncp is setting the addresses above, if any are IPv6 (such as at position Looks like it is coming from here: nextcloudpi/bin/nextcloud-domain.sh Lines 14 to 16 in 77763af
Maybe something like:
Caveat: I did not audit all the position assumptions in NCP. 12 may not be a good candidate. |
The change in In addition to the proposed code above, here's something else to nudge it along. Based on a scan of https://github.com/search?q=repo%3Anextcloud%2Fnextcloudpi%20trusted_domains&type=code I see the following indexes in-use within NCP:
So using index Related: The code that populates index |
trusted_domains
/ error: Trying to access array offset on false
Many same errors (about 1000 a day) since upgrade from 29.0.8 to 30.0.1
System information
Nextcloud configuration
HTTPd logs
Database logs
Nextcloud logs
The text was updated successfully, but these errors were encountered: