-
Notifications
You must be signed in to change notification settings - Fork 117
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
Cant set public_wopi_url with port #4083
Comments
I can confirm the problem. In my case it set the http protocol in the config entry $ php occ config:list richdocuments
{
"apps": {
"richdocuments": {
"disable_certificate_verification": "",
"enabled": "yes",
"installed_version": "8.5.2",
"public_wopi_url": "http:\/\/office.example.de:19443",
"types": "prevent_group_restriction",
"wopi_url": "https:\/\/office.example.de:19443"
}
}
} Setting the configuration field manually via $ php occ config:list richdocuments
{
"apps": {
"richdocuments": {
"disable_certificate_verification": "",
"enabled": "yes",
"installed_version": "8.5.2",
"public_wopi_url": "https:\/\/office.example.de:19443",
"types": "prevent_group_restriction",
"wopi_url": "https:\/\/office.example.de:19443"
}
}
}
|
I am unfortunately unable to reproduce this issue myself on this version of NC server and richdocuments. There have been some updates to richdocuments (and server) since then, would you be able to update the server and app to see if it resolves the issue? |
No, unfortunately not. I updated to richdocuments 8.5.2 and Nextcloud 30.0.1 (from 29.0.8) at the same time, therefore I'm not sure who introduced the bug. |
@AdminMgl any news/further info from you? |
@elzody I can setup a fresh nextcloud instance to test my existing collobora container if this help. Maybe I triggered a bug caused by the update process. |
@SimeonEhrig sure, would be happy to know the result. |
Okay, takes me a little bit time. But I think until Friday I should get manage it. Maybe earlier. |
I can reproduce with a fresh installed Nextcloud instance. I use the Nextcloud Docker container.
|
Describe the bug
Since the last update of richdocuments, it no longer seems to be possible to use a public_wopi_url with a port. Before that, it worked fine. Therefore, documents can no longer be opened. Accordingly, there is no error message, except for the 404 in the access.log, since the URL (without the port) is wrong.
To Reproduce
Steps to reproduce the behavior:
Output: "Config value 'public_wopi_url' for app 'richdocuments' is now set to 'https://domain.tld:9981', stored as mixed in fast cache"
Expected behavior
It would be expected that the port would not be deleted.
Server details
Operating system:
Ubuntu 20.04
Web server:
nginx 1.27.1
Database:
mariadb 11.4.3
PHP version:
php8.3
Nextcloud version:
29.0.7
Version of the richdocuments app
8.4.6
Version of Collabora Online
24.04.7.2
Configuration of the richdocuments app
Logs
Nextcloud log (data/nextcloud.log)
Nothing.
Part of access.log
The text was updated successfully, but these errors were encountered: