hmm maybe something is not clear in the doc? Could you help us fix the doc? Thanks -Vincent
On 10 May 2016, at 14:52, Murilo <[email protected]> wrote:
It has resolved my issue too. Thanks a lot!!!
-----Mensagem original----- De: users [mailto:[email protected]] Em nome de Vincent Massol Enviada em: terça-feira, 10 de maio de 2016 08:18 Para: XWiki Users Assunto: Re: [xwiki-users] xwiki - missing search, empty right 'drawer' menu after upgrade from 7.1.4 to 8.0
Hi,
On 10 May 2016, at 14:13, Pawel Kudzia <[email protected]> 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.permanentDirector y}/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.XWikiLDAPA uthServiceImpl 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