Bump Odoo to version 6.0.13 on Alpine 3.12

Add section about updating to docs
This commit is contained in:
Disassembler 2020-10-22 23:02:59 +02:00
parent 0f89b0ae4b
commit ddcca22498
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
5 changed files with 32 additions and 1854 deletions

View File

@ -13,6 +13,29 @@ Localization
Although the upstream contains some Czech localization, proper translation including the missing strings currently exists in SpotterVM repository. SeedDMS has a translation helper which displays untranslated strings, but the actual translation needs to be supplied as ``lang.inc`` file with PHP associative array. Although the upstream contains some Czech localization, proper translation including the missing strings currently exists in SpotterVM repository. SeedDMS has a translation helper which displays untranslated strings, but the actual translation needs to be supplied as ``lang.inc`` file with PHP associative array.
Updating
--------
SeedDMS currently doesn't support automatic upgrade of the database when moving between versions. The process for the update requires steps to be taken both directly on the server (resp. in the container) and via web interface.
1. Allow install tool via HTTP
.. code-block:: bash
ln -s ../seeddms/install /srv/seeddms/www/install
touch /srv/seeddms/conf/ENABLE_INSTALL_TOOL
2. Navigate to ``https://<SeedDMS URL>/install`` and complete the manual steps
3. Cleanup
.. code-block:: bash
rm -f /srv/seeddms/conf/ENABLE_INSTALL_TOOL
rm -f /srv/seeddms/www/install
There is a ticket https://sourceforge.net/p/seeddms/tickets/489/ opened for the feature request of CLI database upgrade.
Previewers and converters Previewers and converters
------------------------- -------------------------

View File

@ -1,5 +1,5 @@
{ {
"version": "5.1.17-200621", "version": "6.0.13-201021",
"meta": { "meta": {
"title": "SeedDMS", "title": "SeedDMS",
"desc-cs": "Archiv dokumentace", "desc-cs": "Archiv dokumentace",
@ -8,7 +8,7 @@
}, },
"containers": { "containers": {
"seeddms": { "seeddms": {
"image": "seeddms_5.1.17-200621", "image": "seeddms_6.0.13-201021",
"depends": [ "depends": [
"seeddms-postgres" "seeddms-postgres"
], ],
@ -18,7 +18,7 @@
} }
}, },
"seeddms-postgres": { "seeddms-postgres": {
"image": "postgres_12.2.0-200621", "image": "postgres_12.4.0-201021",
"mounts": { "mounts": {
"seeddms/postgres_data": "var/lib/postgresql" "seeddms/postgres_data": "var/lib/postgresql"
} }

View File

@ -1,9 +1,9 @@
IMAGE seeddms_5.1.17-200621 IMAGE seeddms_6.0.13-201021
FROM alpine3.11-php7.3_7.3.18-200621 FROM alpine3.12-php7.3_7.3.23-201021
RUN EOF RUN EOF
# Install runtime dependencies # Install runtime dependencies
apk --no-cache add ghostscript imagemagick libreoffice-calc libreoffice-impress libreoffice-writer php7-fileinfo php7-iconv php7-openssl php7-pear php7-pdo_pgsql php7-simplexml php7-xml poppler-utils python3 ttf-opensans apk --no-cache add ghostscript imagemagick libreoffice-calc libreoffice-impress libreoffice-writer php7-curl php7-fileinfo php7-iconv php7-intl php7-openssl php7-pear php7-pdo_pgsql php7-simplexml php7-xml php7-xsl php7-zip poppler-utils python3 ttf-opensans
ln -s /usr/bin/python3 /usr/bin/python ln -s /usr/bin/python3 /usr/bin/python
# Install unoconv # Install unoconv
@ -14,7 +14,7 @@ RUN EOF
apk --no-cache add wget apk --no-cache add wget
# Install SeedDMS # Install SeedDMS
wget https://sourceforge.net/projects/seeddms/files/seeddms-5.1.17/seeddms-quickstart-5.1.17.tar.gz/download -O - | tar xzf - -C /srv wget https://sourceforge.net/projects/seeddms/files/seeddms-6.0.13/seeddms-quickstart-6.0.13.tar.gz/download -O - | tar xzf - -C /srv
mv /srv/seeddms* /srv/seeddms mv /srv/seeddms* /srv/seeddms
EOF EOF
@ -28,7 +28,7 @@ RUN EOF
# Cleanup # Cleanup
apk --no-cache del wget apk --no-cache del wget
rm -rf /srv/seeddms/www/install rm -f /srv/seeddms/www/install
rm -rf /srv/seeddms/data/conf /srv/seeddms/www/ext/example rm -rf /srv/seeddms/data/conf /srv/seeddms/www/ext/example
EOF EOF

View File

@ -5,7 +5,7 @@ set -ev
POSTGRES_DATA="${VOLUMES_DIR}/seeddms/postgres_data" POSTGRES_DATA="${VOLUMES_DIR}/seeddms/postgres_data"
SEEDDMS_DATA="${VOLUMES_DIR}/seeddms/seeddms_data" SEEDDMS_DATA="${VOLUMES_DIR}/seeddms/seeddms_data"
SEEDDMS_CONF="${VOLUMES_DIR}/seeddms/seeddms_conf" SEEDDMS_CONF="${VOLUMES_DIR}/seeddms/seeddms_conf"
SEEDDMS_LAYER="${LAYERS_DIR}/seeddms_5.1.17-200621" SEEDDMS_LAYER="${LAYERS_DIR}/seeddms_6.0.13-201021"
# Create Postgres instance # Create Postgres instance
install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA} install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA}