-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Migrate away from IDb #17
Comments
Thank you for letting me know. That's a bummer, IDb was the pillar of ownBackup. I can't promise that I rewrite the whole app any time soon... :/ |
Oh, sad to hear. I am not too experienced in programming, but let me know, if I can help with some simple task, replacing certain kind of functions or what. |
If we find a way to dump and restore the database structure and store and restore the content of tables that is database-agnostic (MySQL, PostgreSQL, Sqlite, ...) I will take a look at it. |
The backing up and restoring is done in https://github.com/pbek/ownbackup/blob/develop/service/backupservice.php. |
@MichaIng, @Laupe |
@pbek Tomorrow I will test and let me know |
Just tested it:
|
what's the content of your |
Found use of IDb in /tests/integration/BackupIntegrationTest.php Just guess, I did never look into the API and https://docs.nextcloud.com/server/12/developer_manual/app/changelog.html#id2 does not give all necessary changes as far as I can see ;). |
Thank you, I didn't fix the tests yet. So can you open the settings page and run a backup? |
That's strange, I don't get that error under NC 12 (current master branch) any more... |
I tried back and forth to adjust some things in comparison to other apps (ojsxc) with no success so far. I don't use current master but current Beta2 of Nextcloud. Might there be some bug on Nextcloud side that was fixed in between? Let's see what @Laupe gets during his test. As I have some other issues with Nextcloud currently, there might be something wrong on my side. |
I now released a new version of ownbackup into the NC store and posted an issue Certificate is not valid · Issue #4852 · nextcloud/server · GitHub. |
@Laupe, could you please update ownbackup from the store... |
With new version from store, everything works fine for me now. Could the issue I still had be caused by the remaining IDb call in ..test.php? However, thank you very much for this fast fix. |
Most unlikely that the test could have caused that for you... They are optional and executed manually... |
IDb has been removed from Nextcloud 12. See here the equivalent fix for Nextcloud JavaScript Xmpp Client: nextcloud/jsxc.nextcloud#12
Found bug after NC 12 Beta 1 upgrade: https://help.nextcloud.com/t/upgrade-to-nc-12-beta-1-problems/12225
Was found earlier for JSXC here: https://help.nextcloud.com/t/nc12-breaking-changes/11798
I hope this helps to fix it fast. I really like OwnBackup :)!
The text was updated successfully, but these errors were encountered: