• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kiwitcms / Kiwi / 5530
76%
master: 77%

Build:
Build:
LAST BUILD BRANCH: new_api_client
DEFAULT BRANCH: master
Ran 09 Feb 2020 01:24PM UTC
Jobs 1
Files 138
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5530

push

travis-ci

atodorov
docker-compose: Upgrade from MariaDB 5.5 to MariaDB 10.3

NOTE: we're upgrading b/c all of the new migrations introduce
schema altering operations which fail on older versions of
MariaDB!

WARNING:

kiwi_db_data volume mount dir changed from `/var/lib/mysql' to
`/var/lib/mysql/data' b/c the latest version of MariaDB uses
a different datadir setting!

DOCS:
https://mariadb.com/kb/en/upgrading/
https://mariadb.com/kb/en/upgrading-from-mariadb-55-to-mariadb-100/

HOW TO UPGRADE:

WARNING: upgrade your database BEFORE upgrading to Kiwi TCMS 8.0 !!!

1) Backup existing database with:

   docker exec -it kiwi_db mysqldump -u kiwi -pYourPass kiwi > backup.sql

2) docker-compose down
3) docker volume rm kiwi_db_data

   will remove existing data volume b/c of incompatibilities between
   different MariaDB versions

4) docker-compose up

   will recreate data volume with missing data. e.g. manage.py showmigrations
   will tell you that 0 migrations have been applied.

5) Restore the data from backup:

   cat backup.sql | docker exec -u 0 -i kiwi_db /opt/rh/rh-mariadb103/root/usr/bin/mysql kiwi

   note: this connects to the database as the root user

6) Proceed to upgrade your Kiwi TCMS container !

697 of 1146 branches covered (60.82%)

Branch coverage included in aggregate %.

3652 of 4591 relevant lines covered (79.55%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
3 5530.3 (CMD=test TEST_DB=MariaDB LANG=sl) 09 Feb 2020 01:24PM UTC 0
75.81
Travis Job 5530.3
Source Files on build 5530
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5530
  • f5a18ba1 on github
  • Prev Build on auto_field (#5529)
  • Next Build on auto_field (#5531)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc