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

OnlyOffice install Error - broken state #149

Open
hermann-san opened this issue Feb 17, 2025 · 0 comments
Open

OnlyOffice install Error - broken state #149

hermann-san opened this issue Feb 17, 2025 · 0 comments

Comments

@hermann-san
Copy link

hermann-san commented Feb 17, 2025

Hi,

I had some issue with OnlyOffice (the upgrade from 8.11 to 8.3 failed) and I wanted to reinstall it. I deinstalled it but the process hung forever with no more access to the web admin interface, so I had to restart the server. The application was gone. I tried to install OnlyOffice 8.3 but I got the below error message during installation and I did try a couple of things.
Has somebody an Idea what else I can do?
Thanks.

Context

Hardware: VPS bought online
YunoHost version: 12.0.11
I have access to my server: Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: * no*
You can't do this right now because dpkg/APT (the system's package manager) seems to be in a broken state... You can try to solve this problem by connecting to the server via SSH and running `sudo apt install --fix-broken` and/or `sudo dpkg --configure -a` and/or `sudo dpkg --audit`.


admin@servername:~$ sudo dpkg --configure -a

admin@servername:~$ sudo apt install --fix-broken
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  onlyoffice-documentserver
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,803 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 112335 files and directories currently installed.)
Removing onlyoffice-documentserver (8.3.0-94) ...
dpkg: error processing package onlyoffice-documentserver (--remove):
 installed onlyoffice-documentserver package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
 onlyoffice-documentserver
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

admin@servername:~$ sudo dpkg --configure -a
Processing triggers for libc-bin (2.36-9+deb12u9) ...

admin@servername:~$ sudo dpkg --audit
The following packages are only half installed, due to problems during
installation.  The installation can probably be completed by retrying it;
the packages can be removed using dselect or dpkg --remove:
 onlyoffice-documentserver Online editors for text documents, spreadsheets, and

root@servername:/home/admin# service ds-docservice restart
Warning: The unit file, source configuration file or drop-ins of ds-docservice.service changed on disk. Run 'systemctl daemon-reload' to reload units.

root@servername:/home/admin# systemctl daemon-reload

root@servername:/home/admin# sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  onlyoffice-documentserver
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,803 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 112334 files and directories currently installed.)
Removing onlyoffice-documentserver (8.3.0-94) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...

root@servername:/home/admin# 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant