Hi, > On 10 May 2016, at 14:13, Pawel Kudzia <kud...@gmail.com> wrote: > > Hello, > > I have a working xwiki 7.1.4 installation. It uses MySQL + file system > datastore and LDAP as an authentication backend. > > I'm trying - so far unsuccessfully - to upgrade it to more recent version. > I've > tried 7.4.3 and 8.0 but in both cases I end up with broken UI - the search > bar at the top is missing - http://www.bankfotek.pl/image/1995162, the > right hand 'drawer' menu has much has only Log-in/Log out buttons: > http://www.bankfotek.pl/image/1995161 . In contrast this is how 7.1.4 looks > like: http://www.bankfotek.pl/image/1995168 > > > The steps I'm taking during the upgrade process: > * i move the old instance of the xwiki into another folder > * there are no files left by the old instance > * i download and unzip xwiki-enterprise-jetty-hsqldb-7.4.3.zip or > xwiki-enterprise-jetty-hsqldb-8.0.zip > * i copy webapps/xwiki/WEB-INF/lib/mysql-connector-java from the > old xwiki installation > * i also copy the whole data/storage from the old instance
Note that you need to copy the whole data/ directory (ie the permanent directory). See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade > * i modify the webapps/xwiki/WEB-INF hibernate.cfg.xml coming from > 7.4.3 or 8.0 and comment out there the definition of > <property > name="connection.url">jdbc:hsqldb:file:${environment.permanentDirectory}/database/xwiki_db;shutdown=true</property> > <property name="connection.username">sa</property> > <property name="connection.password"></property> > <property name="connection.driver_class">org.hsqldb.jdbcDriver</property> > <property name="dialect">org.hibernate.dialect.HSQLDialect</property> --> > > and replace it with own connection string to local mysql > > in the xwiki.cfg taken from 7.4.3 or 8.0 i add: > xwiki.store.attachment.hint=file > xwiki.store.attachment.versioning.hint=file > xwiki.store.attachment.recyclebin.hint=file > xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl > xwiki.authentication.ldap=1 > > Then I start the new xwiki using: > > ./start_xwiki.sh -p 8090 -ld /tmp/ > > When I visit the newly installed wiki [also after logging in] - there's no > Distribution > Wizard - just a familiar front page of our wiki. That’s because you didn’t copy the full permanent directory. Thanks -Vincent PS: Also make sure to refresh your browser cache. > I've tried triggering the Distribution Wizard by > removing data/jobs/status/distribution/status.xml > and restarting the xwiki but it did not help. > > I'd greatly appreciate any suggestions that can help me with bringing 8.0 > to fully usable state. > > > -- > regards, > Pawel Kudzia > > > > -- > regards, > Pawel Kudzia > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users