Skip to content

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

Closed

Description

@Keks-Dose

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:
nextcloud/spreed#16502 (comment)

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!

Activity

  1. theCalcaholic commented on Apr 4, 2026

    @theCalcaholic
    Collaborator

    I have now adjusted the NextcloudPi activation process to set overwrite.cli.url to whatever is used when visiting the activation page. Hopefully that will reduce issues like this.
    The change will be released with version v1.57.0

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions