Database Migration - Docker Image

Problems with installing LogicalDOC? No problems, the solution is closer than you think.

Moderator: car031

Phoenix880
Posts: 1
Joined: Fri Oct 19, 2018 3:00 pm

Database Migration - Docker Image

Fri Oct 19, 2018 3:06 pm

Hi!

when I use the docker image "logicaldoc/logicaldoc-ce", and I update the LogicalDOC docker image.
Are there any manual steps in case the database structure has to be changed for the newer version ?
Or is the database structure migrated automatically on LogicalDoc startup?

Best regards,
Sebastian
agaspa
Posts: 622
Joined: Tue Apr 20, 2010 8:24 am

Re: Database Migration - Docker Image

Mon Oct 22, 2018 4:33 pm

Currently there is no upgrade path to modify the database schema used by the application.
At least for the LogicalDOC Community edition.
Which version are you using?
Esentian
Posts: 2
Joined: Wed Nov 14, 2018 5:46 pm

Re: Database Migration - Docker Image

Wed Nov 14, 2018 5:57 pm

I just tried upgrading my docker-installation from logicaldoc-ce:7.7.6 to logicaldoc-ce:8.0.0

In the Plugins-Tab in the Administration-Section I get now 8.0.0 for all listed items and everything seems to work okay. But when I connect and in the sidebar of the installation there is still mentioned 7.7.6. In the database the ld-update table also mentions my upgrade with version 7.7.6:

ld_update ld_date ld_version
installer 2018-11-14 15:58:45 7.7.6

I dont think this was a successful update, so I rolled back my installation. How is the logicaldoc-ce docker version to be upgraded?

Best regards
Esentian

Screenshots of Plugins-Tab (you can see 7.7.6 on the left side, while all plugins list 8.0.0)
Bildschirmfoto_2018-11-14_17-28-49.png
Bildschirmfoto_2018-11-14_17-28-49.png (63.3 KiB) Viewed 160 times
agaspa
Posts: 622
Joined: Tue Apr 20, 2010 8:24 am

Re: Database Migration - Docker Image

Fri Nov 16, 2018 9:57 am

Hi Esentian,
unfortunately, the thing is quite compex,
you need to update the context.properties file by adding the new properties,
you have to update the web-application (completely) and you have to update the database with the changes introduced in version 8.0.0
An update package for the community version has not been released so you should wait until it is released
Esentian
Posts: 2
Joined: Wed Nov 14, 2018 5:46 pm

Re: Database Migration - Docker Image

Fri Nov 16, 2018 3:45 pm

agaspa wrote:
Fri Nov 16, 2018 9:57 am
An update package for the community version has not been released so you should wait until it is released
Thanks for this information. I can wait!

Best regards
Esentian

Return to “Installation”

Who is online

Users browsing this forum: No registered users and 0 guests