owncloud-apps icon indicating copy to clipboard operation
owncloud-apps copied to clipboard

Compatibility with Nextcloud 14

Open ChristophWurst opened this issue 6 years ago • 12 comments

Hi,

as you may have already seen, we have entered the beta phase for the release of Nextcloud 14. We usually try to keep up compatibility with previous app versions, but in some cases apps need some adjustments to properly work on new Nextcloud releases. With Nextcloud 14 there have been quite some changes in that regard:

You can find a list of all critical changes for app developers and admins at https://github.com/nextcloud/server/issues/7827. You can run occ app:check-code to validate that there are no issues with deprecated or private message calls.

One critical change is the overall restructuring of the main template (https://github.com/nextcloud/server/pull/9982) that might require some adjustments in your apps.

We would be very pleased if you can make your apps compatible with Nextcloud 14 and release a new version to the app store, so that users can properly test it and the upgrade experience to Nextcloud 14 will be even better than before.

Feel free to ask, if you have any questions regarding making your app compatible with Nextcloud 14.

Thanks for being part of the Nextcloud community and for all the effort you put into providing your apps :rocket: .

ChristophWurst avatar Aug 06 '18 07:08 ChristophWurst

Nextcloud 14 is released by now....

lemmy04 avatar Sep 13 '18 07:09 lemmy04

Still not able to run under NC 14, is that likely to be fixed? Not sure if it is a big problem or just requires testing/describing it as so in the info file.

donty avatar Sep 15 '18 10:09 donty

This app seems to be dead. Anyone feel like forking it?

aegisgfx avatar Sep 17 '18 15:09 aegisgfx

At least Onlyoffice now supports opening *.epub files. So if somebody is looking for alternatives...

e-alfred avatar Sep 22 '18 09:09 e-alfred

Okay, I patched up the files_reader app in this PR: https://github.com/Yetangitu/owncloud-apps/pull/108

It works with NC14+ now, but there might be some problems still.

e-alfred avatar Sep 27 '18 13:09 e-alfred

Great news e-alfred! So, to be able to use the reader we should pull from the repo and that's it?

jpereztenerife avatar Oct 05 '18 17:10 jpereztenerife

Steps to reproduce

  1. Upgrade to Nextcloud stable v14.0.1
  2. You will get an internal server error

Expected behaviour

No internal server error.

Actual behaviour

"Error","Message":"Class 'OCP\\Config' notfound",
"Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/html\/apps\/files_reader\/lib\/Hooks.php",
"line":41,"function":"get","class":"OCA\\Files_Reader\\Config","type":"::","args":["epub_enable","true"]},
{"file":"\/var\/www\/nextcloud\/html\/lib\/private\/legacy\/hook.php","line":106,"function":"announce_settings","class":"OCA\\Files_Reader\\Hooks

Workaround

sudo -u www-data php occ app:disable files_reader

Server configuration

Operating system: Linux (Debian Stretch) Web server: Nginx Database: MySQL PHP version: 7.1 Nextcloud version: (see Nextcloud admin page) 14.0.1

Where did you install Nextcloud from: Official source upgrader

List of activated apps: Your E-book reader...

melroy89 avatar Oct 06 '18 22:10 melroy89

...the last commit by the author of these apps was in february...

lemmy04 avatar Oct 06 '18 22:10 lemmy04

At least Onlyoffice now supports opening *.epub files. So if somebody is looking for alternatives...

So @e-alfred do you know if I can simultaneously run OnlyOffice and Collabora's LibreOffice inside one instance of Nextcloud?

I just started helping somebody self-publish and I discovered my Nextcloud couldn't open ePub files.

WNYmathGuy avatar Dec 05 '18 19:12 WNYmathGuy

There is a PR for files_opds, see #109

sehucke avatar Dec 10 '18 22:12 sehucke

@WNYmathGuy You can use the Collaboara and Onlyoffice apps on the same Nextcloud instance. Just be careful if you do some collaborative editing no to open it up in both apps at the same time (could lead to data loss).

e-alfred avatar Dec 23 '18 12:12 e-alfred

@WNYmathGuy You can use the Collaboara and Onlyoffice apps on the same Nextcloud instance. Just be careful if you do some collaborative editing no to open it up in both apps at the same time (could lead to data loss).

@e-alfred I gave it a whirl. OnlyOffice has cool settings where I can check and uncheck file types, but even when I selected only epub files for it to open, it didn't work. When the admin makes the setting changes and clicks save, an error is thrown. The setting changes are persistent, but epubs are not opened, just downloaded when clicked.

WNYmathGuy avatar Dec 26 '18 15:12 WNYmathGuy