Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Null base URL after upgrade?

Ben Whitely January 31, 2022

Hello. Trying to upgrade from Confluence 6.13.8 to 7.13.3.

Have run the installer in order to upgrade, added my Java options to the Windows service for proxies and certificate info, made changes to server.xml that should be accurate (definitely includes the URL thar 6.13.8 worked on), but I still am getting 404 errors when I try to connect to Confluence in my browser in our DEV environment.

When I check the atlassian-confluence logs on DEV, you can see that the base url is null when it spits out some of the configuration of the latest build, which I think is the cause of my problem

DEV
Build Information
--------------------------
maxUsers = 500
installationDate = 2009-10-07 23:00:48.0
supportEntitlementNumber = redacted
buildNumber = 8703
serverId = redacted
version = 7.13.3
home = d:\confluence\data
upTime = 2 minutes, 22 seconds
baseUrl = null
devMode = false


In the same log file in prod (just dated back further to the last time it was started), you can see the baseUrl is not null and accurately represents the URL a user needs to go to to access confluence

PROD
Build Information
--------------------------
maxUsers = 500
installationDate = 2009-10-07 12:30:48.0
supportEntitlementNumber = redacted
buildNumber = 7901
serverId = redacted
version = 6.13.8
home = d:\confluence\data
upTime = 1 minute, 45 seconds
baseUrl = https://confluence.redacted/confluence
devMode = false


However, as this is my first upgrade of Confluence, or first time working with Confluence at all, I am not sure how to fix this issue. Any googling or researching of Confluence base URL just tells me to go into 'General Configuration' in the Confluence console. But obviously I cannot access that, as I will get a 404 when I attempt to access the URL.

 

Any help please..

2 answers

1 vote
Pramodh M
Community Champion
January 31, 2022

Hi @Ben Whitely 

It's more than that, 

Can you try once setting the base URL to the IP at least and perform the upgrade?

The service should be stopped prior to the upgrade

Ref here

https://confluence.atlassian.com/conf613/upgrading-confluence-964961659.html

Thanks

Ben Whitely January 31, 2022

Sorry I should have clarified further, I did remove the previous Windows service for the 6.13 version, and installed a new service for the 7.13 version.

 

That was the page I followed along with: backed up MySQL DB -> backed up home/install dirs, stopped both MySQL and Confluence 6.13 services, ran 7.13 installer, selected 'upgrade version' in the installer, then reinstalled a new Windows service for 7.13, and then added in the changes to server.xml 

Pramodh M
Community Champion
January 31, 2022
Ben Whitely January 31, 2022

I am not totally sure if the problem is with the service? I have installed the service fine, and the service remains in the 'running' state, in fact there is a difference in what error shows up on my browser depending on if the Confluence 7.13 Windows service is running or not. I could be wrong though. I have already tried removing/installing it again. I have also mirrored the added Java options on the Windows service from our production environment to the development environment.

0 votes
Fabian Lim
Community Champion
January 31, 2022

Hi @Ben Whitely

I recommend you contact Atlassian Support directly to get a faster response.

Regards

Ben Whitely January 31, 2022

I have sent in a ticket. I forgot that was a possibility.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events