Basis für die folgenden Schritte ist ein aktuelles Basis-System. Hierfür wurde Ubuntu 18.04. wie in diesem Artikel beschrieben verwendet: OpenERP 7 auf Ubuntu server 18.04.
Module prüfen:
Eigene Module, nicht gelistete Module: Prüfe ob Anpassungen notwendig sind.
Vorbereitung
$ systemctl stop openerp
$ systemctl disable openerp
Die folgenden Pakete werden für die Migration bzw. später für Odoo 8.0 benötigt:
$ apt install python-decorator python-psutil python-requests python-jinja2 python-passlib
$ pip install pypdf
$ wget github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
$ dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
OpenERP 7 -> Odoo 8 Upgrade durchführen
$ su - openerp
wget raw.githubusercontent.com/OCA/OpenUpgrade/8.0/scripts/migrate.py
python migrate.py --config=/etc/openerp/openerp-server.conf --database=[dbname] --run-migrations=8.0
Der Benutzer, der Pfad zur Konfigurationsdatei sowie der Datenbankname sind entsprechend anzupassen.
Abschließend das Migrations-Log auf eventuelle Fehler prüfen:
less /var/tmp/openupgrade/migration.log
Odoo 8.0 installieren
Da sich der Name des Systems ändert, passe ich bei mir auch den Benutzer an:
$ groupadd odoo
$ useradd --system --home-dir=/opt/odoo -m -g odoo odoo
$ mkdir -p /opt/odoo
$ cd /opt/odoo
$ git clone github.com/odoo/odoo.git --branch 8.0 --single-branch
$ mv odoo/* .
$ mv odoo/.[a-z]* .
$ rmdir odoo
$ chown -R odoo:odoo /opt/odoo/
$ vim /etc/odoo/odoo-server.conf
[options]
addons_path = /opt/odoo/addons,/opt/odoo-custom/addons
admin_passwd = SomeStr0ngPaßword
db_host = False
db_port = False
db_user = odoo
db_password = False
;Log settings
logfile = /var/log/odoo/odoo-server.log
log_level = error
Im Anschluss lege ich einen neuen systemd Service an:
$ vim /etc/systemd/system/odoo.service
[Unit]
Description=Advanced OpenSource ERP and CRM server
Requires=postgresql.service
After=postgresql.service
[Install]
Alias=odoo.service
[Service]
Type=simple
PermissionsStartOnly=true
EnvironmentFile=-/etc/conf.d/odoo-server
User=odoo
Group=odoo
SyslogIdentifier=odoo-server
PIDFile=/run/odoo/odoo-server.pid
ExecStartPre=/usr/bin/install -d -m755 -o odoo -g odoo /run/odoo
ExecStart=/opt/odoo/openerp-server -c /etc/odoo/odoo-server.conf --pid=/run/odoo/odoo-server.pid --syslog $OPENERP_ARGS
ExecStop=/bin/kill $MAINPID
[Install]
WantedBy=multi-user.target
Datenbank anpassen
$ sudo -u postgres createuser -s odoo
$ su - openerp -c "psql"
ALTER DATABASE dbname_migrated OWNER TO odoo;
ALTER DATABASE dbname_migrated RENAME TO dbname_8;
# Datenbanken auflisten und prüfen ob die obigen Befehle erfolgreich waren:
\l
\q
Odoo starten
$ systemctl start odoo
Im Anschluss kann Odoo über http://example.com:8069 aufgerufen werden und alles geprüft werden. Erst wenn sicher ist, dass alle Daten korrekt übernommen wurden und die Arbeitsprozesse wie gewünscht abgebildet werden können kann die neue Version in den Live-Betrieb gehen.
Bemerkungen :
To begin with I just wanted to understand how everything was set up, without any special
expectations. Overall the site left a calm positive opinion: everything
was done quite simply and neatly, at the same time it’s worth noting a decent game selection. Another thing can be mentioned as a plus, that the site is easy to navigate, and
that leaves a good impression. Also I noticed different payment methods, and this also makes
the service more convenient. Of course I wouldn’t say that the site
has no weak points, still it’s clear that user comfort was clearly taken into account.
At the same time it’s worth keep a sensible approach,
because common sense matters in things like this. If is interested in checking
it out, then you can explore the platform yourself.
If you look at a surface-level introduction, then everything looks quite decent.
Link: Vegazone bonus
platform. To begin with I just wanted to understand how everything was set
up, to see it for myself. In the end I was left with a rather positive impression: everything was done quite simply and neatly, in addition it’s worth noting a fairly diverse catalog.
Another thing can be mentioned as a plus, that the
information and games are arranged quite conveniently, which makes getting familiar with the platform
easier. In addition it’s worth mentioning different payment methods, and that
also can be considered a plus. Naturally this doesn’t mean that
the site has no weak points, still it feels like the site was made quite carefully.
As for me it’s worth treat it as entertainment, because comfort depends on a reasonable approach.
If is interested in checking it out, then it may be worth
paying attention to it. If you take into account a surface-level introduction, then overall it turned out to be positive.
Link: betting