Skip to content
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

2023 - Upgrade off1 and off2 #182

Open
11 of 15 tasks
alexgarel opened this issue Feb 14, 2023 · 0 comments
Open
11 of 15 tasks

2023 - Upgrade off1 and off2 #182

alexgarel opened this issue Feb 14, 2023 · 0 comments
Labels

Comments

@alexgarel
Copy link
Member

alexgarel commented Feb 14, 2023

This is a master ticket for upgrade of off1 and off2. We want to add more disk and more memory.
This is also the occasion to put everything on ZFS (most notably images), use proxmox and separate installations in containers, use a nginx proxy.

We will proceed by:

  1. temporarily moving mongodb to a server of OSM France
  2. upgrade and re-install off2
  3. move off1 to off2 (by re-installing everything cleanly)
  4. upgrade and re-install off1
  5. install mongodb on off1

Living documentation on google docs (a cleaned version will be moved to reports afterwards)

Move mongo from off2 to OSM container

  1. backup
  2. backup

Reinstall production (from off1) on OFF2

  1. roadmap 🎯 P1 📚 documentation

Upgrade OFF2 and move Mongodb to OFF2

  1. mongodb off2
@alexgarel alexgarel added the ✨ enhancement New feature or request label Feb 14, 2023
@alexgarel alexgarel changed the title Upgrade off1 and off2 2023 - Upgrade off1 and off2 Feb 15, 2023
alexgarel added a commit to openfoodfacts/openfoodfacts-server that referenced this issue Nov 23, 2023
…roxmox) (#8827)

- Migration of Open Food Facts (site and pro platform) from off1 (bare metal) to off2 (proxmox)
- Modifications linked to moving off and off-pro to off2 server. 
- This includes a lot of path modifications:
  - some directories where removed from the repository and are created dynamically
  - we try to differentiate folders containing code (only this is in git), data, cache data and dist files
  - we control this by using a fixed set of base path (see Paths.pm)
- Most of server configurations are now in the git repository
- Import scripts where reworked 

See also: openfoodfacts/openfoodfacts-infrastructure#243

Part of:
- openfoodfacts/openfoodfacts-infrastructure#182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants