-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add PostgreSQL support back #35
Comments
Yep, good point. I hope it's compatible now. CI will tell us 😉 |
The app can still be not installed with using PostgreSQL. Any plans for an update? |
PRs to bring back Postgres testing on CI are welcome any time :) |
Hi, this app it's very interesting. Any plans to integrate with Postgress DB? |
|
From Nextcloud 16.0.1 App installer I have the message: App "Two-Factor Admin Support" cannot be installed because the following dependencies are not fulfilled: Following databases are supported: sqlite, mysql |
Yes, we're working on it: #71 |
Hey, i need it too. I use Nextcloud in Docker with psql (Univention). 2 Users lost his Backup Codes and his phones are dead... they cant login. how is the status? :) iam hopefully |
It still requires a few hours of work to get this properly fixed. The community PR stalled and got closed unfortunately. This apps is a community effort, even though I work for Nextcloud GmbH. Right now I don't have the time to fix this as there are other priorities. If anyone of you is a customer and wants this fixed, please reach out to your account managers. And those who want to become a customer, please see https://nextcloud.com/enterprise/. Hope this is understandable. Contributions are welcome any time. But it has to be a solid fix that works for all instances, no matter which state their migrations failed. Sorry for the inconveniences caused in the meantime. |
I'd like to become a customer, but not if my current installed system (PostgreSQL database) isn't workable. I'm currently having to delete users and re-add them when they lose their 2FA credentials. Personally, I think if an add-on doesn't support the system requirements laid out by Nextcloud, then the app should be pulled from the app store. Nextcloud says PostgreSQL is a supported database, then the add-ons should support it also. |
Get in touch with us. I'm sure we can find a solution if this is a blocker for you.
This app isn't currently covered by the support contract. And as you can see on https://apps.nextcloud.com/apps/twofactor_admin it's neither labeled as featured nor supported. This can change with customer demand, though. |
Hello, I hate to have to complain, but I started upgrading nextcloud to 18.0 (from 17.0) after business hours and now I'm in the middle of a roll-back because I also enabled TOTP-based 2FA and now the whole system is basically nuked:
That's a mess already, but it gets better:
H-How ? Guys, this is really really bad. I've seen other issues with postgresql in the past, where for example a certain version of nextcloud was not compatible with another version of postgresql, and this was known, yet the NC made no checks and installed just fine, failing spectacularly when onboarding users. I really can't understand the reason, postgresql is a fine rdbms. It's not about mysql vs postgres. They're both fine, I'm on postgres because I am already using it for other stuff. IMHO, however, you should either drop postgresql support or try harder at being consistent across the various rdbms that you support. Dropping postgresql support would of course be sad, but if the alternative is creating a mess at every upgrade then I guess it's worth it. This issue has been open for 10 months now, just saying. My only relief is that I made a snapshot of the underlying zfs dataset (containing posgres db + nextcloud data + docker-compose.yml) before beginning the upgrade. Sorry for the long rant. |
Hi @esantoro and sorry for the trouble you encountered. Just for information, this isn't the 2FA TOTP app which is indeed officially supported, it's a 3rd-party app allowing the admin to generate a one-time login code on behalf of users. Notice that it's not under the As @ChristophWurst said above, this app is neither labeled as featured nor supported. This can change with customer demand, though, so you might want to contact them about this. |
And please read https://nextcloud.com/contribute/code-of-conduct/. |
Also, even if this were in the nc organization, there is no obligation for us to support you for free. Please read up on what open source means. It's not about getting the software and all the support for free. This is about collaboration. |
Does anyone know anything new? |
I've given up on this a long time ago. Dropped this plugin and wrote a bash script for our NC docker setup to inject N pre-defined backup codes for any number of given users into PostgreSQL. |
Thank you very much @milux for your script!! |
Hello! So the problem that was holding this back (#71) was closed. Is there still anything that needs to be done to reenable this? |
bump: This issue is now nearly 3 years old and for nearly a year there seems to be a solution (I only read, did not check). |
I just tested this on 22.2.3 and I can confirm that PostgreSQL is not supported when I try to install the App. |
🎉🎉🎉 |
Seems it was disabled because of #20 in 78e8250 but it should be fine now.
The text was updated successfully, but these errors were encountered: