Hi Jukka, First of all: welcome!
If you're still evaluating OFBiz in a non-production setup (e.g. with the embedded Apache Derby RDBMS as the data store) you can just replace the 16.11.07 code by the 17.12.03 code in the folder of your choice. However, if you already setup your OFBiz implementation with an external (production-grade) RDBMS - like MySQL/PostgreSQL/etc. - and have production data in play, you need to do more. Not only do you need have backups of your data and the various configuration files, but you also need to assess whether replacement of the 16.11.07 code with the new version has an impact on customisation you may have. There may be data (entity) model changes in play: https://cwiki.apache.org/confluence/display/OFBIZ/Revisions+Requiring+Data+Migration+-+upgrade+ofbiz Met vriendelijke groet, Pierre Smits *Proud* *contributor** of* Apache OFBiz <https://ofbiz.apache.org/> since 2008 (without privileges) *Apache Trafodion <https://trafodion.apache.org>, Vice President* *Apache Directory <https://directory.apache.org>, PMC Member* Apache Incubator <https://incubator.apache.org>, committer Apache Steve <https://steve.apache.org>, committer On Tue, May 5, 2020 at 8:26 AM Jukka Palko <[email protected]> wrote: > Hello, > > I tried to ask this question with my protonmail email earlier on upgrading > to 17.12.01 but I think protonmail is a bit troubled with mailing lists. > So, a retry with my GMail subscribed to the list. > > I'm basically completely new to OFBiz but not new to system administration > in > general with more than 20 years of Linux and Unix experience. > > My question is what are the upgrade procedures for an OFBiz installation. I > have done a MariaDB database on Debian 10 and configured OFBiz to use that > as > the backend. > > I can write up a wiki page of the install should that be found useful. I > basically did the documentation in a text file of the procedures used as > I'm trying to help a local small business in starting to use the software. > > The installation was built using command > ./gradlew --parallel-threads=8 cleanAll loadDefault > > I configured a systemd service file for the installation as follows: > ------ > [Unit] > Description=OFBiz Service Daemon > After=network.target auditd.service > After=network-online.target > Wants=network-online.target > > [Service] > User=ofbiz > WorkingDirectory=/srv/ofbiz/apache-ofbiz > ExecStart=/srv/ofbiz/apache-ofbiz/gradlew ofbiz > ExecStop=/srv/ofbiz/apache-ofbiz/gradlew 'ofbiz --shutdown' > > [Install] > WantedBy=multi-user.target > ------ > > The installation is running fine I guess which is to say that it does not > seem > to complain on any web page I've browsed on it thus far. > > However, I did the install while 16.11.07 was the newest version and now > there > is the version 17.12.03 available. What are the update/upgrade steps to > move > my install from the previous version to the new one? > > > Best regards, > Jukka Palko > >
