docs icon indicating copy to clipboard operation
docs copied to clipboard

How to manually upgrade apps in production envs?

Open IljaN opened this issue 4 years ago • 0 comments

WHAT Needs to be Documented?

Process to manually upgrade apps in production. The recommended process is as follows:

- Enable Maintenance Mode with "occ maintenance:mode --on" (this will cause a downtime)
- Shutdown Apache
- Remove the folder from the owncloud/apps folder (or back it up for rollback)
- Unpack the new app in to owncloud/apps
- Check that the owner of the new app-folder is correct (www-data:www-data)
- Run occ upgrade
- Turn off maintenance-mode (occ maintenance:mode --off)
- Start Apache

WHERE Does This Need To Be Documented (Link)?

https://doc.owncloud.com/server/10.8/admin_manual/maintenance/upgrading/marketplace_apps.html#clustered-multi-server-environment

WHY Should This Change Be Made?

As we don't recommend marketplace for multi-node (scale-out) environments we need to document how to upgrade apps manually.

(Optional) What Type Of Content Change Is This?

  • [x] New Content Addition
  • [ ] Old Content Deprecation
  • [ ] Existing Content Simplification
  • [ ] Bug Fix to Existing Content

(Optional) Which Manual Does This Relate To?

  • [x] Admin Manual
  • [ ] Developer Manual
  • [ ] User Manual
  • [ ] Android
  • [ ] iOS
  • [ ] Branded Clients
  • [ ] Desktop Client
  • [ ] Other

IljaN avatar Nov 30 '21 13:11 IljaN