nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

config.php: "overwrite.cli.url": "https://nextcloudpi/" causes hard to debug errors

Open Keks-Dose opened this issue 1 month ago • 0 comments

If you search for "overwrite.cli.url" here in open issues, you get a lot of hits. It seems that the default value of nextcloudpi is"https://nextcloudpi/". But as the documentation says here https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html under "overwrite.cli.url":

Use this configuration parameter to specify the base URL for any URLs which are generated within Nextcloud using any kind of command line tools (cron or occ). The value should contain the full base URL: https://www.example.com/nextcloud Please make sure to set the value to the URL that your users mainly use to access this Nextcloud.

Otherwise, there might be problems with the URL generation via cron.

I was bitten by that: I could not delete a room in the talk app, see here: https://github.com/nextcloud/spreed/issues/16502#issuecomment-3622484019

and

https://help.nextcloud.com/t/zombie-room-keeps-coming-back/236568

I understand that at the time of installation there usually is no way of getting the information about the URL.

Nonetheless I'm writing this as a bug report, maybe somebody here has an idea how to tackle the issue. Otherwise just close it.

-- Thank you so much for your time and effort!

Keks-Dose avatar Dec 08 '25 09:12 Keks-Dose