OnlyOffice fails to sync with Nextcloud

Hardware: VPS bought online ( Contabo )
YunoHost version: 4.3.6.3 (stable)
I have access to my server : Through SSH and browser
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

i’ve installed onlyoffice on a subdomain and the relevant app on nextcloud.
however, where i add the Docs address to sync the two, i receive this error:

Error when trying to connect (Client error: GET https://onlyoffice.domain.tld/healthcheck resulted in a 400 Bad Request response:
Bad Request (400)
)

anyone can help with that?

so, the test example was starting, but then it wouldnt load any new file i attempted to open.
i’ve uninstalled it and reinstalled it again but now the test example doesn’t even come up at all giving a 502 Bad Gateway.

Please install from testing, master branch is not working…

sudo yunohost app install https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing
1 Like

thanks.
how will this impact future updates?

Once the app version number changes, the app get updated

done, but receiving the same exact errors as before.

I have been installing it at least 8 time today without any issue … :thinking:

i promise im not lying :sweat_smile:

i wanted to share logs, but i can’t find onlyoffice in the webadmin services.
can i do it through the command line?

on the side, am i possibly messing up things because of the test example?

tried to reinstalling it using this

sudo yunohost app install https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing --debug

but still not working

her’s the log of the installation

sudo yunohost log show 20220520-152027-app_install-onlyoffice
description: Install the 'onlyoffice' app
log_path: /var/log/yunohost/categories/operation/20220520-152027-app_install-onlyoffice.log
logs: 
  - 2022-05-20 17:24:33,788: DEBUG - + [[ -n '' ]]
  - 2022-05-20 17:24:33,788: DEBUG - + [[ -n '' ]]
  - 2022-05-20 17:24:33,789: DEBUG - + yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''onlyoffice.main'\'' ,add=['\''visitors'\'']     , force=True)'
  - 2022-05-20 17:24:34,695: DEBUG - + ynh_script_progression '--message=Reloading NGINX web server...'
  - 2022-05-20 17:24:34,695: DEBUG - + set +o xtrace
  - 2022-05-20 17:24:34,720: DEBUG - + set +o xtrace
  - 2022-05-20 17:24:34,728: DEBUG - + echo '! Helper used in legacy mode !'
  - 2022-05-20 17:24:34,728: DEBUG - + set +x
  - 2022-05-20 17:24:34,729: INFO - [#################+..] > Reloading NGINX web server...
  - 2022-05-20 17:24:34,729: DEBUG - + echo '[#################+..] > Reloading NGINX web server...'
  - 2022-05-20 17:24:34,729: DEBUG - + set -o xtrace
  - 2022-05-20 17:24:34,729: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
  - 2022-05-20 17:24:34,729: DEBUG - + local legacy_args=nalpte
  - 2022-05-20 17:24:34,729: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
  - 2022-05-20 17:24:34,729: DEBUG - + local -A args_array
  - 2022-05-20 17:24:34,729: DEBUG - + local service_name
  - 2022-05-20 17:24:34,729: DEBUG - + local action
  - 2022-05-20 17:24:34,729: DEBUG - + local line_match
  - 2022-05-20 17:24:34,730: DEBUG - + local length
  - 2022-05-20 17:24:34,730: DEBUG - + local log_path
  - 2022-05-20 17:24:34,730: DEBUG - + local timeout
  - 2022-05-20 17:24:34,730: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
  - 2022-05-20 17:24:34,730: DEBUG - + set +o xtrace
  - 2022-05-20 17:24:34,790: DEBUG - + service_name=nginx
  - 2022-05-20 17:24:34,790: DEBUG - + action=reload
  - 2022-05-20 17:24:34,791: DEBUG - + line_match=
  - 2022-05-20 17:24:34,791: DEBUG - + length=20
  - 2022-05-20 17:24:34,791: DEBUG - + log_path=/var/log/nginx/nginx.log
  - 2022-05-20 17:24:34,791: DEBUG - + timeout=300
  - 2022-05-20 17:24:34,791: DEBUG - + '[' reload == stop ']'
  - 2022-05-20 17:24:34,791: DEBUG - + [[ -n '' ]]
  - 2022-05-20 17:24:34,791: DEBUG - + '[' reload == reload ']'
  - 2022-05-20 17:24:34,791: DEBUG - + action=reload-or-restart
  - 2022-05-20 17:24:34,792: DEBUG - + systemctl reload-or-restart nginx
  - 2022-05-20 17:24:34,886: DEBUG - + [[ -n '' ]]
  - 2022-05-20 17:24:34,886: DEBUG - + ynh_script_progression '--message=Installation of onlyoffice completed'
  - 2022-05-20 17:24:34,886: DEBUG - + set +o xtrace
  - 2022-05-20 17:24:34,910: DEBUG - + set +o xtrace
  - 2022-05-20 17:24:34,920: DEBUG - + echo '! Helper used in legacy mode !'
  - 2022-05-20 17:24:34,920: DEBUG - + set +x
  - 2022-05-20 17:24:34,922: INFO - [##################++] > Installation of onlyoffice completed
  - 2022-05-20 17:24:34,922: DEBUG - + echo '[##################++] > Installation of onlyoffice completed'
  - 2022-05-20 17:24:34,922: DEBUG - + set -o xtrace
  - 2022-05-20 17:24:34,922: DEBUG - + ynh_exit_properly
  - 2022-05-20 17:24:34,922: DEBUG - + local exit_code=0
  - 2022-05-20 17:24:34,922: DEBUG - + rm -rf /var/cache/yunohost/download/
  - 2022-05-20 17:24:34,923: DEBUG - + '[' 0 -eq 0 ']'
  - 2022-05-20 17:24:34,923: DEBUG - + exit 0
  - 2022-05-20 17:24:35,925: DEBUG - Checking that required services are up and running...
  - 2022-05-20 17:24:36,563: SUCCESS - Installation completed
metadata: 
  args: 
    app: https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing
    force: False
    label: None
    no_remove_on_failure: False
  ended_at: 2022-05-20 17:24:36
  env: 
    YNH_APP_ARG_DOMAIN: docs.brigata.gay
    YNH_APP_ARG_IS_PUBLIC: 1
    YNH_APP_ARG_NEXTCLOUDDOMAIN: agenda.brigata.gay
    YNH_APP_ARG_PATH: /
    YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_k3e25wen
    YNH_APP_ID: onlyoffice
    YNH_APP_INSTANCE_NAME: onlyoffice
    YNH_APP_INSTANCE_NUMBER: 1
    YNH_APP_MANIFEST_VERSION: 7.1.0~ynh1
    YNH_ARCH: amd64
  error: None
  interface: cli
  operation: app_install
  parent: None
  related_to: 
    - app
    - onlyoffice
  started_at: 2022-05-20 17:20:27
  success: True
  yunohost_version: 4.3.6.3
metadata_path: /var/log/yunohost/categories/operation/20220520-152027-app_install-onlyoffice.yml
name: 20220520-152027-app_install-onlyoffice

then upgraded with

sudo yunohost app upgrade onlyoffice -u https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing --debug

but another failure
installation logs for reference:

sudo yunohost app upgrade onlyoffice -u https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing --debug
103  DEBUG initializing base actions map parser for cli
104  DEBUG loading actions map namespace 'yunohost'
106  DEBUG building parser...
116  DEBUG building parser took 0.010s
118  DEBUG acquiring lock...
128  DEBUG lock has been acquired
139  DEBUG loading python module yunohost.app took 0.011s
139  DEBUG processing action [27621.1]: yunohost.app.upgrade with args={'app': ['onlyoffice'], 'url': 'https://github.com/YunoHost-Apps/onlyoffice_ynh/tree/testing', 'file': None, 'force': False, 'no_safety_backup': False}
151  INFO Now upgrading onlyoffice...
200  DEBUG initializing ldap interface
237  DEBUG Downloading...
916  DEBUG Done
1166 SUCCESS onlyoffice is already up-to-date
1290 DEBUG The permission database has been resynchronized
1434 DEBUG SSOwat configuration regenerated
1440 SUCCESS Upgrade complete
1441 DEBUG action [27621.1] executed in 1.301s
1441 DEBUG lock has been released

i dont understand why the test example only worked the first time, with the app working only on the nextcloud side.

i did this

rm /etc/dnsmasq.d/office.DOMAIN.TLD
systemctl restart dnsmasq

in an attempt to help myself by following this thread, but the only thing i achieved is being able to run the examples page (the original sync error still exist).

actually, when i try to create/edit a file in the example page the files wouldn’t even load so i guess it’s an extra proof the integration is not working if we needed one more.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.