Hello,
I`m trying to install Confluence 5.1.5 with custom PostgreSQL database to restore the existing database and then upgrade to a newer one.
I`m not able to connect to PostgreSQL server at the setup step, can you help me, please?
I did manage to setup testdatabase.jsp and got this result (https://confluence.atlassian.com/conf63/troubleshooting-external-database-connections-929729726.html):
Found driver (org.postgresql.Driver) on classpath Connection failed to open on the JDBC URL: java.sql.SQLException: No suitable driver found for jdbc:postgres://localhost:5492/test
I have PostgreSQL 9.2 installed on my PC (found, that Confluence 5.1.5 contains a driver for PostgreSQL 9.2)
Hello Andrew,
Thank you for reaching out! Happy to help.
I believe your error might be due to a misconfiguration in the database URL, due to what I read from the article PostgreSQL: "java.sql.SQLException: No suitable driver found".
Have a look at our article on Database Setup for Postgresql for details:
The database URL is entered in this format:
jdbc:postgresql://<server>:<port>/<database>For example:
jdbc:postgresql://localhost:5432/confluence
If you need to connect to an SSL database, add the
ssl=true
parameter in the database URL. For example:jdbc:postgresql://localhost:5432/confluence?ssl=true
Your URL is using postgres rather than postgresql. I would recommend updating that and let me know if you're able to connect.
In addition, due to the two recent security advisories, (Confluence Security Advisory - 2019-03-20 and Confluence Security Advisory - 2019-04-17), you will want to upgrade to the latest Confluence versions.
My recommended changes would be:
Let me know if you have any questions about this.
Regards,
Shannon
Hello Shannon,
As I understand, to perform the XML backup I need to have a workable Counfluence (we have only database backup).
And also I need to restore the old confluence before and perform the upgrade then.
I did manage to install the Confluence 5.1.5, the problem was related to JRE - the version #7 (not supported for now) was required to make it work.
Now we can perform XML backup and migrate to a newer Confluence.
I think the best possibility for us is to use Cloud Confluence instead of the local server.
Sincerely yours, Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
My apologies, as your message indicated you were migrating from 5.1.5, I was not aware that your previous installation was also not in working order. In addition, when migrating the initial step is to create the XML backup so I was not aware that you hadn't had a chance to do that yet.
If you wish to migrate from Server to Cloud, then you will want to upgrade first to 5.10 or higher so you can use the Server to Cloud migration tool.
Please review Plan your Confluence Server to Cloud Migration for full details on how to migrate to Cloud. Let us know if you have any question or get stuck along the way.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Shannon, those links and information are useful to me
Regards,
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome, Andrew!
Just let us know if you have any trouble during your migration.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have another question about Attachments:
I have Confluence 5.1.5 working and i need to recover attachments form my old install (backup is broken :( )
i want to understand the Confluence storage system
found this:
https://confluence.atlassian.com/doc/hierarchical-file-system-attachment-storage-704578486.html
but when i did upload my file - i don`t have it in this structure and don`t have it in 'AttachmentsData' table.. where it could be (file is accessible)?
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.
Hi Andrew,
Were you able to obtain the attachments when you discovered you were checking the wrong folder?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shannon,
I have several Confluence installations, 64 and 32 bit (were looking for the solution of the first reported problem - about the JRE). So i missed between two Program Files foldres - for 64 and 32 bit applications.
Regards, Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrew,
Thank you for letting me know! Could you let us know if you were able to complete the installation? Are you still having any issues?
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
now everything ok except the license. I would like to set the old license key but can`t find the way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
What error are you getting about the license? Are you trying to change from an older license to a new one, or just add the license for the first time?
I'll share some documentation here that can help you, but we'll need to the exact issue you're having with the license.
Looking forward to hearing from you.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shannon,
Maybe I misunderstood something:
we have an old server with a very old expired license (expired on 2011).
but this license allows us to work on this server without Confluence updates and support.
Now we do investigate migration possibilities, so we did install a totally new server with the evaluation license. But when I do try to set the old (expired) license key instead of 'evaluation' one - I see the error 'Confluence support and upgrades for this license ended on 19 Oct 2011. This license is not valid.' , yet the installed Confluence version is also 'old' and satisfies the period of time when confluence license was OK
seems using this case is not possible and we need to purchase new one, right?
Sincerely yours, Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andrew,
That's correct; you can use a license for as long as it's valid and that includes any updates released within that time period.
If you want to install a version of Confluence that came out after the license expired, then you will need to renew it. You can go to https://my.atlassian.com to take care of that, or contact our Customer Advocates team directly at support.atlassian.com.
I hope that helps get you in the right directly, but let me know if you have any trouble.
Once you have your new license, you can update it with the information I provided you yesterday.
Take care!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.