-
-
Notifications
You must be signed in to change notification settings - Fork 665
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
[Exception] ONLYOFFICE cannot be installed #647
Comments
Also getting this issue. In my case, I had previously installed Collabora, perhaps that may have caused it? Additional info: Running the script originally produced errors that "Cannot be installed at the same time as Collabora", but I uninstalled the app using the web UI and also removed from docker using docker rm -f, after which the onlyoffice.sh script did not complain about Collabora any more. I also opened an issue on the OnlyOffice Github, see ONLYOFFICE/onlyoffice-nextcloud#9 . Any advice welcome, and please feel free to ask for more info if required. Thanks for your time and help! |
Additionally, after repeating the above steps trying to remove OnlyOffice, I can no longer install Collabora. (It seems like OnlyOffice is installed already. ...) On this note, what is the recommended method for uninstalling apps that were installed with the above scripts? Edit: I repeated my 'uninstall' process for OnlyOffice as I originally tried for Collabora, and was unable to reinstall Collabora. My conclusion is that my process for uninstalling the app was incorrect. Therefore, what is the recommended way for doing a full clean uninstall with the VM? |
Duplicate of #641 You need to uninstall the app and also remove the docker to be able to install as you can't run Collabora and Onlyoffice next to each other. |
@enoch85 Thanks for the reply. I'm not too familiar with Nextcloud; could you please give a more detailed list of instructions on how to properly uninstall an app? I've removed it from using the web GUI (disable and then remove), then removed the docker (docker rm -f ), and also erased the folder that the setup scripts look for (richdocuments or onlyoffice, ie. rm -rf /var/www/nextcloud/onlyoffice). Despite that, my Nextcloud instance is currently in a state where I cannot install either package. I would appreciate a more detailed list of what to look for, or commands to run. Thanks for your help! |
@nextcloudvmtester This is the check that checks if OnlyOffice is installed So basically:
Hope it helps! |
@enoch85 Thanks for the more detailed reply. I did all of the above, but the problem still persists. I believe the problem is in one of these lines though: Lines 196 to 199 in 19bb705
The folder Fortunately, since I am still setting up the server I can afford to wipe everything and reinstall from scratch, so I'm going to do that next. If possible, it would be great if these mutually exclusive scripts could at least warn users (ex. quick text box saying that it is incompatible with the following modules) before installing. An uninstall script for apps in the VM would also be lovely (or tell users to only add/remove apps with the web GUI). Despite this hiccup, Nextcloud has been great, so thanks for your hard work developing it! |
It took a few hours, and several attempts, but I was finally able to install ONLYOFFICE using a fresh install (OS and everything). It was hard to tell since the screen only flashed for an instant, but I think the script always reports a failure, even if it is successfully installed. I found that just using the Nextcloud App store was a sufficient way to get it installed eventually. |
Not possible as the app has to be installed to get that error.
PRs are welcome! :)
Great! Then maybe OnlyOffice fixed the issue meanwhile. As I stated earlier this was just temporary as the apps has to be maintained to work. The VM will install them, but we can't control every hour if they work or not. The released versions always work as we test everything before release.
Nope, that's not the logic. It reports an error if it's an error. And the error you saw was due to the app not being compatible at the moment. Thank you for testing and confirming that everything worked on a fresh install! <3 |
Sorry, to clarify, even on the fresh install, the script displayed the same error. I had to use the web GUI to disable, remove, and then reinstall the app. Once installed through the web GUI app store, the installation succeeded. Glad I could be of some help! |
Hmm, that's strange. The I will install a new server soon, and will test then. |
Hello, I have the same error on a fresh install. |
@nextcloudvmtester @alexdaums Could you guys please redo the installation, but this time don't install OnlyOffice, and download the script manually after a successful install of the VM, just to see if it's due to running in the setup script? Thanks! |
@enoch85 And my VM is installed just with the minimum option. I think ONLYOFFICE updated the image document server and not its application for Nextcloud... Thank you. |
That's exactly my thought as well. |
Hi,
When I start the onlyoffice.sh script everything is good untill
sudo -u www-data php /var/www/nextcloud/occ app:enable onlyoffice
I get this error:
[Exception]
App "ONLYOFFICE" cannot be installed because it is not compatible with this version of the server.
Should I have to wait for a new onlyoffice Version?
Thanks!
BR
Thorsten
The text was updated successfully, but these errors were encountered: