[tryton-debian-vcs] tryton-server branch debian updated. debian/4.2.0-1-2-g865ee8b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Dec 8 17:32:12 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=debian/4.2.0-1-2-g865ee8b
commit 865ee8b1594fbe4d04314a16f10cd6cad30d67f4
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Dec 8 18:28:17 2016 +0100
Improve the command lines in NEWS for better understanding (Closes: #847463).
- Use sudo instead of the root prefix throughout the whole document.
- Use the verbose switch to make the update process more transparent to
the user.
- Include better hints for the factored webdav module.
- Thanks to Raphaël Hertzog for pointing this out.
diff --git a/debian/NEWS b/debian/NEWS
index b895a34..f523fb0 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -6,10 +6,10 @@ tryton-server (4.2.0-1) unstable; urgency=medium
As for each major release don't forget to backup your database(s) and
then run the database update with
- # trytond-admin --all -d <your_database_name>
+ $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
and restart the server(s) with
- # service tryton-server restart
- # service tryton-server-cron restart
+ $ sudo service tryton-server restart
+ $ sudo service tryton-server-cron restart
-- Mathias Behrle <mathiasb at m9s.biz> Mon, 05 Dec 2016 15:31:44 +0100
@@ -22,14 +22,16 @@ tryton-server (4.0.1-1) unstable; urgency=medium
The formerly included cron job is now run by the dedicated service
tryton-server-cron.
The formerly included webdav module was separated into the separate
- package tryton-server-webdav running its own server instance.
+ package tryton-server-webdav running its own server instance. If the
+ module was enabled in 3.8, then you have to manually install the package
+ for Tryton to continue to work.
As for each major release don't forget to backup your database(s) and
then run the database update with
- # trytond-admin --all -d <your_database_name>
+ $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
and restart the server(s) with
- # service tryton-server restart
- # service tryton-server-cron restart
+ $ sudo service tryton-server restart
+ $ sudo service tryton-server-cron restart
-- Mathias Behrle <mathiasb at m9s.biz> Mon, 30 May 2016 18:17:30 +0200
@@ -38,9 +40,9 @@ tryton-server (3.8.0-1) unstable; urgency=medium
This is the new major release 3.8.0.
As for each major release don't forget to backup your database(s) and
then run the database update with
- # trytond --all -d <your_database_name>
+ $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
and restart the server with
- # service tryton-server restart
+ $ sudo service tryton-server restart
-- Mathias Behrle <mathiasb at m9s.biz> Thu, 12 Nov 2015 19:00:59 +0100
@@ -49,9 +51,9 @@ tryton-server (3.6.0-1) unstable; urgency=medium
This is the new major release 3.6.0.
As for each major release don't forget to backup your database(s) and
then run the database update with
- # trytond --all -d <your_database_name>
+ $ sudo -u tryton trytond -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
and restart the server with
- # service tryton-server restart
+ $ sudo service tryton-server restart
-- Mathias Behrle <mathiasb at m9s.biz> Thu, 23 Apr 2015 18:13:16 +0200
@@ -68,9 +70,9 @@ tryton-server (3.4.0-1) unstable; urgency=medium
As for each major release don't forget to backup your database(s) and
then run the database update with
- # trytond -c /etc/tryton/trytond.conf --all -d <your_database_name>
+ $ sudo -u tryton trytond -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
and restart the server with
- # service tryton-server restart
+ $ sudo service tryton-server restart
-- Mathias Behrle <mathiasb at m9s.biz> Tue, 22 Oct 2014 17:37:36 +0200
@@ -79,9 +81,9 @@ tryton-server (3.2.0-1) unstable; urgency=medium
This is the new major release 3.2.0.
As for each major release don't forget to backup your database(s) and
then run the database update with
- # trytond -u all -d <your_database_name>
+ $ sudo -u tryton trytond -v -c /etc/trytond.conf --all -d <your_database_name>
and restart the server with
- # /etc/init.d/tryton-server restart
+ $ sudo service tryton-server restart
-- Mathias Behrle <mathiasb at m9s.biz> Thu, 24 Apr 2014 11:49:58 +0200
@@ -90,9 +92,9 @@ tryton-server (3.0.0-1) unstable; urgency=low
This is the new major release 3.0.0.
As for each major release don't forget to backup your database(s) and
then run the update with
- # trytond -u all -d <your_database_name>
+ $ sudo -u tryton trytond -v -c /etc/trytond.conf --all -d <your_database_name>
and restart the server with
- # /etc/init.d/tryton-server restart
+ $ sudo service tryton-server restart
-- Mathias Behrle <mathiasb at m9s.biz> Sun, 24 Nov 2013 18:28:07 +0100
@@ -101,9 +103,9 @@ tryton-server (2.8.0-1) experimental; urgency=low
This is the new major release 2.8.0.
As for each major release don't forget to backup your database and
then run the update with
- # trytond -u all -d <your_database_name>
+ $ sudo -u tryton trytond -v -c /etc/trytond.conf --all -d <your_database_name>
and restart the server with
- # /etc/init.d/tryton-server restart
+ $ sudo service tryton-server restart
-- Mathias Behrle <mathiasb at m9s.biz> Fri, 17 May 2013 17:30:44 +0200
commit 48195bdea2aeb664b78d060728c100fc473c2d03
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu Dec 8 18:27:29 2016 +0100
Use sudo instead of the root prefix for better understanding throughout the whole document.
diff --git a/debian/tryton-server.README.Debian b/debian/tryton-server.README.Debian
index 6065c17..09e1bc9 100644
--- a/debian/tryton-server.README.Debian
+++ b/debian/tryton-server.README.Debian
@@ -15,7 +15,7 @@ achieve this (you need to execute all commands as root):
* Making sure, PostgreSQL is running:
- # service postgresql* restart
+ $ sudo service postgresql* restart
Note: If PostgreSQL runs on another machine than the Tryton server, make sure
you have setup database password authentication. Please refer to the
@@ -25,8 +25,8 @@ achieve this (you need to execute all commands as root):
* Creating the database user:
- # su - postgres -c "createuser --createdb --no-createrole --no-superuser \
- --pwprompt tryton"
+ $ sudo -u postgres createuser --createdb --no-createrole --no-superuser \
+ --pwprompt tryton
You have to enter
* a password for the future database user (this will be used later in the
@@ -64,12 +64,12 @@ Preparing the Tryton server
the tryton-server package, take care to add the tryton user to the
ssl-cert group with
- # adduser tryton ssl-cert
+ $ sudo adduser tryton ssl-cert
* Restarting trytond:
- # service tryton-server restart
- # service tryton-server-cron restart
+ $ sudo service tryton-server restart
+ $ sudo service tryton-server-cron restart
Note: The fingerprint of connected servers is stored in the clients
known_hosts file. When a server is changed for its SSL usage, the client
@@ -87,14 +87,14 @@ On the command line:
* Creating the database:
- # su - postgres -c "createdb --encoding=UNICODE --owner=tryton tryton"
+ $ sudo -u postgres createdb --encoding=UNICODE --owner=tryton tryton
Note: Use your database user for tryton as owner of the database, and enter
a name for the database (here as default: tryton).
* Initializing the database:
- # /usr/bin/trytond-admin -c /etc/tryton/trytond.conf -u res -d tryton
+ $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
Note: Use the database name you chose in the previous step (here as default: tryton).
You will be asked for the admin password for this database.
@@ -108,7 +108,7 @@ Upgrade
version string) you have to update your database(s).
After the categorically recommended backup do:
- # /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d tryton
+ $ sudo -u tryton trytond-admin -v -c /etc/tryton/trytond.conf --all -d <your_database_name>
Remember to replace tryton with the name of your database.
--
tryton-server
More information about the tryton-debian-vcs
mailing list