Skip to content

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

@Keks-Dose

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions