Personal wiki notebook (not under development)

UPGRADE 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. When upgrading Luminotes, if you are using memcached, it is recommended
  2. that you restart memcached to clear your cache.
  3. Upgrading from Luminotes 1.5.0 or higher
  4. ----------------------------------------
  5. If you're using Luminotes 1.5.0 or higher and you'd like to upgrade to a
  6. newer version, Luminotes will automatically upgrade your database when
  7. you start Luminotes after an upgrade. This means that all of your notes
  8. and notebooks created in an older versions of Luminotes will be included
  9. in the upgrade. You don't have to do a thing other than install the
  10. software for the new release, and then execute the following command:
  11. export PYTHONPATH=.
  12. python2.4 tools/updatedb.py
  13. Upgrading from Luminotes 1.0, 1.2, 1.3, or 1.4
  14. ----------------------------------------------
  15. If you're using an older version of Luminotes (prior to 1.5.0) and you'd
  16. like to upgrade to a newer version, you'll have to perform database
  17. upgrades manually. Below are the intructions for doing so.
  18. To upgrade the Luminotes database from an earlier version, manually apply each
  19. relevant schema delta file within model/delta/
  20. For instance, if you are upgrading from version 1.3.12 to 1.5.0, you would
  21. apply the following deltas in order:
  22. psql -U luminotes luminotes -f model/delta/1.3.14.sql
  23. psql -U luminotes luminotes -f model/delta/1.4.0.sql
  24. psql -U luminotes luminotes -f model/delta/1.5.0.sql
  25. Any version which does not introduce a schema change does not have a
  26. corresponding schema delta file.
  27. IMPORTANT: Even if you are upgrading past version 1.5.0 to a newer version,
  28. you should stop applying schema delta files after 1.5.0. This is because the
  29. Luminotes automatic schema upgrade process will pick up after that point.
  30. After you've updated the schema, run the updatedb.py script:
  31. export PYTHONPATH=.
  32. python2.4 tools/updatedb.py