passman icon indicating copy to clipboard operation
passman copied to clipboard

Compatibility with Nextcloud 14 [$190 awarded]

Open juliusknorr opened this issue 8 years ago • 77 comments

Hi @brantje,

as you may have already seen, we have entered the beta phase for the release of Nextcloud 14. We try to keep up compatibility with older apps, 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 app.

We would be very pleased if you can make your app 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 this app :rocket:

Btw. you might have seen that starting August 25, the Nextcloud Conference takes place at the familiar TU Berlin. (https://nextcloud.com/conf/)! We'd like all contributors to be there and that most certainly includes you. You might already have registered but if you haven't - please consider joining us!


The $190 bounty on this issue has been claimed at Bountysource.

juliusknorr avatar Aug 10 '18 08:08 juliusknorr

Nextcloud 14 was announced today and released RC, but Passman gets disabled on upgrade as of now.

vwbusguy avatar Aug 25 '18 16:08 vwbusguy

Any news on compatibility with Nextcloud 14 ?

Kourai avatar Sep 03 '18 12:09 Kourai

The plugin works of you just club-footed increase the version in the app-info file. There are some rendering issues, but you actually can see your passwords now.

Heidistein avatar Sep 04 '18 15:09 Heidistein

Nextcloud 14 was tagged for GA release today but sadly no compatibility update to passman yet.

vwbusguy avatar Sep 07 '18 02:09 vwbusguy

Yes, to flesh out what @Heidistein said, you can force to work by modifying the file: /nextcloud/apps/passman/appinfo/info.xml and change the line <nextcloud min-version="9" max-version="13" /> to <nextcloud min-version="9" max-version="14" /> It will work, although the rendering is little off. But you can at least access passwords this way until a final version is released.

bstin avatar Sep 10 '18 12:09 bstin

Not sure if this should be here but @bstin thank you, I was about to downgrade. I do have trouble finding that file though, it seems there is no passman folder in my /nextcloud/apps. Do you have any suggestions on where to look?

PTDXL avatar Sep 10 '18 13:09 PTDXL

@Putdeksel You can find that file in your webroot, which is probably /var/www/nextcloud. From there you can navigate to apps/passman/appinfo/info.xml.

tcassaert avatar Sep 10 '18 13:09 tcassaert

Thank you for your reply @tcassaert. It seems that because I use the Techandme.se VM and their script to update instead of the traditional method in Nextcloud, unsupported apps are removed during the update. I've tried to copy the apps/passman/ folder that I found in the backup directory, into the var/www//nextcloud/apps directory and editing the info.xml file as suggested by @bstin but without any luck. Guess I'll have to restore my backup :( Thanks anyway!

PTDXL avatar Sep 10 '18 16:09 PTDXL

@Putdeksel

Just to add, after I edited info.xml I had to manually enable pasmman it in the list of apps. After you restored apps/passman directory back into the correct location, do you see it in list of apps?

bstin avatar Sep 10 '18 16:09 bstin

@bstin Thank you for your reply. It did not show up in the list of apps so it got me thinking. Turns out the update script changed the backup passman directory ownership. While in /var/www/nextcloud/apps I used chown -R www-data:www-data passman Access to my passwords is restored. Thank you all for guiding me!

PTDXL avatar Sep 11 '18 11:09 PTDXL

Is there an official word from the maintainer? Will there be a nextcloud 14 version?

himpierre avatar Sep 12 '18 09:09 himpierre

Hope you have a paper copy of all your passwords in your back pocket ;)

ChildLearningClub avatar Sep 12 '18 14:09 ChildLearningClub

From how it looks now, I don't think that will happen very soon. The latest "real" commit, apart from translation commits, already goes back to the first of April 2018.

tcassaert avatar Sep 12 '18 14:09 tcassaert

Oh dear. I guess i have to switch to another password manager.

himpierre avatar Sep 12 '18 14:09 himpierre

Well, we could always fork it. I'd love to see this continue to be maintained. I've enjoyed the user experience so far. I'm willing to do some coding work but the maintainer seems MIA. I'm not sure it's worth putting in a PR if the maintainer won't even acknowledge stuff like this.

vwbusguy avatar Sep 12 '18 21:09 vwbusguy

It looks like @brantje is active on GitHub - even today - just not here..

vwbusguy avatar Sep 12 '18 21:09 vwbusguy

Looks like there was an update the the web extension today, so maybe there's hope? https://github.com/nextcloud/passman-webextension

vwbusguy avatar Sep 12 '18 21:09 vwbusguy

If you need to get by, Passman still kinda works with a broken layout as-is on Nextcloud 14. Find where Passman is installed, then edit appinfo/info.xml. In there, you'll find this line:

        <nextcloud min-version="9" max-version="13" />

Change this to:

        <nextcloud min-version="9" max-version="14" />

This also seems to make the Passman API work, so the Android Passman app and the Passman extension (at least on Firefox) works just fine.

By the way, it'd be great to see compatibility for Nextcloud 14, so have a $15 bounty :wink:

synthead avatar Sep 13 '18 06:09 synthead

Please do open a merge request! People can still apply it manually on their instances.

On September 12, 2018 11:34:54 PM GMT+02:00, Scott Williams [email protected] wrote:

Well, we could always fork it. I'd love to see this continue to be maintained. I've enjoyed the user experience so far. I'm willing to do some coding work but the maintainer seems MIA. I'm not sure it's worth putting in a PR if the maintainer won't even acknowledge stuff like this.

Bubu avatar Sep 13 '18 07:09 Bubu

Actually, I started doing the PR to find that the version has been bumped in this repo 6 months ago - it was just never pushed as a release to NextCloud: https://github.com/nextcloud/passman/blob/master/appinfo/info.xml#L46

vwbusguy avatar Sep 13 '18 17:09 vwbusguy