Failure of createProxyPreviewUrl

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): 30.0.2 rc1
Operating system and version (eg, Ubuntu 24.04): mint 21.2
Apache or nginx version (eg, Apache 2.4.25): 2.4.62
PHP version (eg, 8.3): 8,2

The issue you are facing:

Going to the apps page results in an error listed with a red bar: “An error occurred during the request. Unable to proceed.”

App items don’t populate properly.

Is this the first time you’ve seen this error? (Y/N):

yes

Steps to replicate it:

  1. Update to RC1
  2. Go to Apps

The output of your Nextcloud log in Admin > Logging:


[index] Error: OCA\Settings\Controller\AppSettingsController::createProxyPreviewUrl(): Argument #1 ($url) must be of type string, array given, called in /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php on line 259 in file '/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php' line 245
	GET /index.php/settings/apps/list
	from <ipaddr> by <username> at Oct 31, 2024, 4:34:41 PM


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

not done yet

The output of your Apache/nginx/system log in /var/log/____:

not done yet

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

not done yet

Does applying the changes in https://github.com/nextcloud/server/pull/49044 fix this for you?

EDIT: Tracking here for those that run across this here.

Thanks! That looks promising and I’ll have to try it when I get a little time. Some of the edits seem a bit involved; I’ll have to be careful.

Depending on your preferences, patches from PRs can be applied following this documented approach.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.