-
Notifications
You must be signed in to change notification settings - Fork 52
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
Support for Nextcloud 21 #334
Comments
I see also an error on the Nextcloud store for Ocsms that is showing the release 1.10.1 compatible for NC21 because of dependency required nextcloud version >= 9.0.0 and release 1.10.1 is not available for download https://ftp.unix-experience.fr/owncloud-sms/v1.10.1.tar.gz error 404 |
1.10.1 is in fact available at https://github.com/nextcloud/ocsms/archive/refs/tags/v1.10.1.zip But what's the point since is years old (11 Nov 2016). All very bizarre. |
the problem is in incorrect definition of version 1.10.1 that will be forever compatible with all future versions as in Dependecies is set with
|
Ok, thanks. The orig dev is active but not on this app, so I guess OCSMS is dormant, although someone did make commits in Dec 2020. |
The current problem with a new release of the app is that the database table had to be changed to make the app compatible with newer Nextcloud releases. This means that the data from the old tables has to be migrated in an upgrade step or the sync has to be set up again by the user. Any PR solving the issue is highly welcome! |
Hello! What's the current status of this project? Is there version for 21 on the process? How can I get ocsms to work in nc21? |
Hello @e-alfred. I would like to try making a PR for this migration, if not already in progress by someone else. Would you be kind and help me with some starting point context? Please correct me if I am wrong until now. |
Hello @floss4good, thanks for your offer! I am currently not able to keep up as fast with all apps due to other commitments, but the problem with this app is that we had to change to the new Database Migrations and had to shorten the table names to be still compatible with newer Nextcloud versions. This means we need a way to migrate the data from the old tables to the new tables. There are two options:
The changed table names and indexes can be found in this PR: 94a7175 |
I was already using ocsms 2.2.0 on NC 20. Working great. Not sure when I originally installed ocsms, it was probably around NC version 18? I can't remember, but in any case, it was already installed and configured and working great. Here's what I did prior to upgrading to NC 21:
Now after the upgrade to NC 21, ocsms 2.2.0 continues to work properly, and all existing sms data and phone sync connections were preserved, at least in my brief initial testing. Hope this is helpful to someone. |
And what will happen when a new version – that should perform the tables/indexes name changes – is released? PS: There a second table that should be renamed (and some indexes) – check commit 224382c; but after a quick check it seems to not be used at all. |
@floss4good Actually one of the tables in that commit is being used, or at least it is present in my database. The ocsms_sendmessage_queue. Thank you for sharing this. I've updated my post above to reflect this change. None of the other tables mentioned in that commit are present in my database, so it appears the rest are unused. It sounds like there are no plans for a new version that performs these db changes any time soon, so I'm not too concerned about it. Can always tweak it manually in the future if required. This at least gets it working today on NC 21. |
Thankyou very much @floss4good Could you point me to a quick guide about how to replace the store version of this app with your branch so i may finally leave v20 please ? |
I am not sure if this is helping anything, but I have been just testing the old app (v 2.2.0) on NC 21 and NC 22. I did this by continuously upgrading my older NC instance (basically have been using NC since back in the owncloud times). Then I had to do the "use untested app" thing to re-enable the app. |
Master has been restored with state of september: #345 |
i have a nextcloud 22 at home, i will install it and see if it's fine or not |
Working in 23 with #329 (comment) |
Will you support Nextcloud 21?
Steps to reproduce
Expected behaviour
Support Nextcloud >= 21
Actual behaviour
Extension does not support Nextxloud >= 21
Server configuration
Nextcloud/ownCloud version:
21.0.1
The text was updated successfully, but these errors were encountered: