Skip to content
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

Can't open documents after last update Nextcloud AIO #3839

Open
KOCTET-SPB opened this issue Jul 26, 2024 · 6 comments
Open

Can't open documents after last update Nextcloud AIO #3839

KOCTET-SPB opened this issue Jul 26, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@KOCTET-SPB
Copy link

KOCTET-SPB commented Jul 26, 2024

Describe the bug
Can't open documents after last update nextcloud:
"Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy configuration please checkout https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html"
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: Android 12, Windows 11
  • Browser Chrome
  • Version [e.g. 22]
  • Device: Xiaomi 9, desktop

Server details

Operating system:
Ubuntu 22.04
Web server:
Apache/2.4.52
Database:

PHP version:

Nextcloud version:
Nextcloud AIO Nextcloud Hub 8 (29.0.4)
Version of the richdocuments app
Nextcloud Office 8.4.3
Version of Collabora Online
Collabora Online Development Edition 24.04.5.2 ca2ed20
Configuration of the richdocuments app

Insert the output of ./occ config:list richdocuments (or equivalent adapted for your runtime environment)

{   
    "apps": {        
        "richdocuments": {
            "types": "prevent_group_restriction",
            "public_wopi_url": "https:\/\/cloud.mydomen.com",
            "doc_format": "ooxml",
            "wopi_url": "https:\/\/cloud.mydomen.com\/",
            "wopi_callback_url": "",
            "enabled": "yes",
            "installed_version": "8.4.3",
            "disable_certificate_verification": "",
            "wopi_allowlist": "bbb.aaa.yyy.xxx,127.0.0.1\/8,192.168.0.0\/16,172.16.0.0\/12,10.0.0.0\/8,fd00::\/8,::1,cloud.mydomen.com,192.168.1.201,0.0.0.0\/0"
        }
    }
}
Logs

Nextcloud log (data/nextcloud.log)

Ошибка | index | ExceptionCall to a member function xpath() on bool in file '/var/www/html/custom_apps/richdocuments/lib/WOPI/Parser.php' line 56

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@joshtrichards
Copy link
Member

Are you using the AIO CODE or Built-in CODE (aka: richdocumentscode)?

@joshtrichards joshtrichards added bug Something isn't working needs info labels Jul 26, 2024
@KOCTET-SPB
Copy link
Author

Are you using the AIO CODE or Built-in CODE (aka: richdocumentscode)?
I use what comes with the AIO

@joshtrichards
Copy link
Member

Additional context: nextcloud/all-in-one#5042

@fcharlaix-opendsi
Copy link

fcharlaix-opendsi commented Jul 30, 2024

I have the issue on a non Docker/AIO installation with Nextcloud 29.0.4 and Nextcloud Office 8.4.3.

simplexml_load_string can return false, this was checked before the cleanup.
This seems to return false because $discovery is null for some reason in my case.
If I go into the settings and save the address (whiteout modifying anything) this solves the issue.

@KOCTET-SPB
Copy link
Author

I have the issue on a non Docker/AIO installation with Nextcloud 29.0.4 and Nextcloud Office 8.4.3.

simplexml_load_string can return false, this was checked before the cleanup. This seems to return false because $discovery is null for some reason in my case. If I go into the settings and save the address (whiteout modifying anything) this solves the issue.

I saved different addresses several times. The error in the log has disappeared, but the documents do not open, the same error:
"Failed to establish socket connection or socket connection closed unexpectedly. The reverse proxy might be misconfigured, please contact the administrator. For more info on proxy configuration please checkout"

@KOCTET-SPB
Copy link
Author

Update to Nextcloud Office 8.4.4:
I saved the addresses several times, after which the documents open.
Works fine now. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants