Hi HDA,

that did the trick. Is there any wise policy with regards to updates from 
launchpad? I've now created a folder under /usr/src where I update the 
repository. 

What is the best way to go about updating or installing modules? One of my main 
problems with openerp so far has been that I find it very hard to keep it's 
integrety during upgrades or installing extra modules.

Probably the best way is:
1. copy entire directory 
'/usr/lib/python2.5/site-packages/openerp-server/addons/' as backup.
2. make a dump of the database 'pg_dump dbname | gzip > filename.gz'
3. do I need to copy/backup other directories?
4. install/update module
5. restart server
6. restart web client

If something does not work restore by:
1. stop server and client
2. copy backup files to  
'/usr/lib/python2.5/site-packages/openerp-server/addons/' 
3. restore database 'gunzip -c filename.gz | psql dbname'
4. start server with -u base -d dbname
5. start client

Would this be a safe way to go about upgrades/changes to the system?

Arnold.




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=39742#39742

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to