To Whom it maybe concerned:
It's Wei Lin form ICBC (London), I have interested and successfully installed 7.5.4 product for server, but failed to restore from 5.1.1.
The error shown in the following:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'isShowSignUp' in class com.atlassian.confluence.user.actions.LoginAction threw exception java.lang.NullPointerException: Application cannot be null at /login.vm[line 6, column 28]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:342)
caused by: java.lang.NullPointerException: Application cannot be null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:895)
I look forward to hearing from you. Thanks.
Best Regards
Wei Lin
You won't be able to "restore from 5.1.1". If you've done it with the database, you've skipped the upgrade steps so the data is the wrong shape. If you did it with an xml import,it should have told you it can't do it because 5.1.1 is way too old and not compatible with 7.5.4.
Could you explain what you are trying to do end-to-end? An upgrade from 5.1.1?
Hi Nic,
Thank you very much for your replied. We are doing an server migration and would like to extract all files and space structure which saved in the old confluence server which has 5.1.1 version installed.
Hope you could help to find the good way to get those all files.
Thanks in advance.
Best Regards
Wei Lin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assuming the 7.5.4 system is empty, the easiest thing to do would be to install 5.1.1 on the target server and get it running ok, stop it, point it to the 5.1.1 database, copy the attachments directory from the old server to the new one, restart it to check everything is there, and then upgrade it to 7.5.4 using the standard upgrade docs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic.
Thanks for replied, But I have got the error after installed 5.1.4 (production version) which copied from old server:
com.atlassian.config.bootstrap.BootstrapException: Unable to bootstrap application: The database driver (org.h2.Driver) was not found in the class path. |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have a broken installation of Confluence there, someone has removed things from it. You'll need to start with a fresh clean install of 5.1.4 from scratch, without whatever "clever" customisations have been done to production.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Thank you so much for your quick replied and I have managed to install 5.14 the made migration from old server successfully !
But the upgrading to 7.4.5 has been failed and got those message:So, any idea on it?
Also, how I can back to 5.1.4 when this upgrading failed?
Thanks in advance.
Kind Regards
Wei Lin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll need to read the application log to find out what has failed during starting the new system
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Thanks for replied. The error still same, But I have read upgrading guide and the found the following (In my case):
If you run Confluence as a service on Windows you should delete the existing service then re-install the service by running <install-directory>/bin/service.bat
.
This makes sure the service gets the most recent JVM options.
Any idea how can I do that?
Also, I am not sure which log I need to looking for?
Thanks in advance and sorry to trouble you.
Best Regards
Wei Lin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.