-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ownCloud: Update to v10.15.0 #6225
Conversation
hey @hgy59, recently you mentioned a validation check that was missing in #6224 (comment). With this new build I'm wondering what's the best way to solve this issue. |
@mreid-tt you need a |
BTW the demoservice package is a good playground for development. |
@hgy59 thanks for the feedback. It's been a while since I worked on this so I forgot about these functions. Will make the suggested changes in a new commit and test. |
5807eda
to
bdc0d01
Compare
@hgy59 I believe the scripts are good now. I also took the time to optimise them to use |
c8f9063
to
3da7d13
Compare
991ccff
to
3a49801
Compare
@hgy59, I revisited the package and identified several long-standing warnings in the settings screen. After some investigation, I managed to resolve three of them: a cron warning, an HSTS warning, and a memory cache warning. However, two issues remain: file locking and the use of SQLite for the database. With a clearer understanding of backing up and restoring MySQL/MariaDB databases, I'm considering switching back to MariaDB. I'd appreciate your thoughts on this. For the file locking issue, we could potentially resolve it by using Redis. We already have a Redis package that users can configure manually, or I could integrate it into the setup wizard. The current configuration aligns with the "Private Home Server with Low Access Rates" recommendation from the ownCloud configuration guide on caching. To support a "Small Server," we'd need to address these two issues. I'd value your input on whether this effort is worthwhile. EDIT: Alternatively, we could update the Wiki with instructions like this one: ownCloud: Converting Database Type, so users can implement the changes themselves. EDIT: I've tested a manual migration from SQLite to MariaDB, and it seems too complex to integrate into the upgrade scripts, particularly for DSM 6. After installing Redis, all warnings were resolved, and the interface performance improved significantly. I’m inclined to proceed with configuring this as the default setup. For the upgrade process, I suggest incorporating checks to block the upgrade until the user completes the manual database migration steps. I'd appreciate your thoughts on this. |
9454ffb
to
3ddbcf3
Compare
b06ce60
to
eea61cb
Compare
@hgy59 I've made a major commit that transitions the backend database to MySQL. Unfortunately, automating the process through a script isn’t reliable at this time, so I’ve created a Wiki page with instructions for users to manually complete the steps before updating to this version. You can review it here: https://github.com/SynoCommunity/spksrc/wiki/ownCloud-Database-Migration. I'd appreciate your feedback on it. |
ab3e254
to
a79b926
Compare
This is really well documented ... A few comments:
yup, well document overall, nice job! |
Well it's listed as a pre-requisite in the Makefile so I'm not sure there is a way to show anything before, other than in the release notes or package description.
If it's a fresh install it will default to MariaDB. The main challenge is someone moving from 10.14.0 to 10.15.0 who would be running on SQLite that would need to migrate their database to MySQL. Ah! I see your point about mentioning MySQL when I mean MariaDB, yes that language can be made more consistent.
This is the password for the application to connect to the database which is something the user will not be interacting with. The random password is a recommendation from the upstream repo's installation guide which I agree with. It cuts down on admin accounts to remember and manage for the user.
The error could potentially occur with either DSM 6 or 7. So one thing which I saw consistently on both is if you don't turn maintenance mode off in the previous step the migration will fail and will leave a partially constructed database in MariaDB. This is why the easiest way to recover would be to just dump it and start the migration again.
Yeah, I tried to make it as copy and paste as possible but my main concern was for users who may not be comfortable with command line. |
Description
This PR contains the following:
Fixes #
Checklist
all-supported
completed successfullyType of change