owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.39k stars 2.05k forks source link

How to manage ownCloud apps programaticaly - discussion #17823

Closed pierreozoux closed 8 years ago

pierreozoux commented 9 years ago

What is the best way to maintain apps? Because I manage dozens of owncloud instance as an IndieHosters and this is a pain.

When I do upgrades, it deactivates apps from the users. Then they reactivate them, but they are broken, I need to find the latest version.

This is not scalable :/

Why isn't there any package management? Why not using composer? Do you have an idea to solve this issue? Actually, yesterday, speaking with a friend we though about git. Is master always 'bug free' not like a development branch I mean. Or maybe I can/should use the tags.

I'm just curious how to deal with that, if you have hints, I'd be glad!

Thanks!

DeepDiver1975 commented 9 years ago

master is the development branch - released versions are available in stable branches like stable8 or stable8.1

pierreozoux commented 9 years ago

@DeepDiver1975 thanks for the quick reply, I guess this is the same for apps like contacts.

So maybe the best option is to rely on git + tags. but it needs my manual intervention to say ok, this tag works with this oC version.

oparoz commented 9 years ago

master is the development branch - released versions are available in stable branches like stable8 or stable8.1

That's only true for core apps. The repository of each app should be checked.

@pierreozoux - Why should you update apps for your users? They are available in the app store now and admins can upgrade whenever they want. The latest version compatible with their ownCloud version will be pulled and installed.

pierreozoux commented 9 years ago

@oparoz compare, in term of UX, between ownCloud and Google.

On google:

On ownCloud:

Sorry for the dummy presentation, I'm sure you are already aware of that. In the FLOSS community, if we want to compete with google, we have to at least offer a similar user experience. And people will choose us, not just because we are FLOSS, but because, that we offer key advantage that proprietary software in the cloud can't offer (privacy, integration between owncloud and wordpress for instance...).

I'm not saying oC is bad. Like framasoft is saying, "the road is long but the way is free :)". I'm just trying to understand how I can make the life as easy as possible for my users.

As an IndieHoster, the best would be:

I'm sure this is also your goal :)

In the mean time, if there is a nice way to deal with that, I'd be glad to know it :)

@oparoz: you are telling me that on the web ui, admins can upgrade their apps to the latest version? I tried to find it on the manual, I found nothing. I tried to look on the web ui, I found nothing. Maybe it will appear when a new version will be available? If you tell so, I trust you, and then in this case, I'll let users upgrade to the latest version (waiting occ be able to so by itself :)).

oparoz commented 9 years ago

I have the same problem. All apps are disabled and nothing will work until all apps are re-enabled, so it takes extra time to get everything back to normal. The way I see it, you either offer ownCloud fully managed, have full control over the upgrade process and don't leave your users stranded with disabled apps or you let users update at their own pace and let them manually re-install dozens of apps. Things are improving though. I didn't look for the exact issues, but I think the updater now pauses after the update has completed, to give you a chance to take a good look at what has been done.

If you've read http://morrisjobke.de/2015/07/23/Verbose-ownCloud-upgrade/ then you know that we can already upgrade ownCloud itself via the command line, so maybe you could create an issue asking specifically for

cc @MorrisJobke

And about your 2nd point, yes, you can currently go to the apps section of your ownCloud and upgrade apps. One will only be shown if it's compatible with your version of ownCloud. Regarding simply re-enabling apps, I would pick the apps from the various categories instead of using the ones in the "not enabled" category as you may have some older version in there.

PVince81 commented 9 years ago

@Gomez did you also have similar trouble ?

cdamken commented 9 years ago

occ apps:upgradeready occ apps:upgrade

I like this ;)

RobinMcCorkell commented 9 years ago

See ./occ upgrade --no-app-disable (#16473)

oparoz commented 9 years ago

Brilliant :)

Gomez commented 9 years ago

I depend on git + tags for core and all apps (if necessary i use bugfix commits). To get rid of the 3rdparty app disable i implemented ./occ upgrade --no-app-disable. Works perfect since than :)

pierreozoux commented 8 years ago

Ok, thanks for all your input!

I still get apps disabled (last update was calendar and contact), I found this way: https://github.com/indiehosters/ownCloud/issues/3

I'll test further and let you know :)

PVince81 commented 8 years ago

In the future, please discuss on the mailing list or forums http://owncloud.org/support

I'm closing this because this is neither a bug report not enhancement request.

There is already a ticket about apps getting disabled on updates: https://github.com/owncloud/core/issues/18312

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.