Jump to content

Upgrade Failing - Dev Site


Will Watts
 Share

Go to solution Solved by Will Watts,

Recommended Posts

Hi all,

I'm trying to test out a forum upgrade on my development site, and I'm running into issues. The site I'm upgrading has not been upgraded for some time, so is still running 4.5.4.2 which may be the cause of some of the issues.

Dev forum: qa-prod.domain.com

Prod: forums.domain.com

This does give a license validation error, but I assumed that this was okay, considering it's a private development site behind .htaccess authentication. forums.domain.com has a valid IPS license. Issues I'm experiencing with the upgrade:

 

1) On the upgrade page, it seems like various assets are not loading. I click through the prompts for the automatic upgrade, and the screen appears like this:

366818578_Screenshot2022-01-07at20_41_53.thumb.png.52823da9119065801dcfa2e651af9acd.png

Reviewing the Javascript console, there are a number of assets there are not able to load for some reason:

[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (layout.css, line 0)
[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (reset.css, line 0)
[Error] Failed to load resource: the server responded with a status of 403 (Forbidden) (fonts.css, line 0)

I can't really work out where the permission error is coming from - the site on the subdomain was previously working correctly.

Nothing happens after this point - this is the last screen I see, prior to being locked out of the forums.

 

2) An error is flagged in the ACP in the upgrade section: 

[[Template core/admin/applications/appRowAdditional is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]
[[Template core/admin/applications/appRowDescription is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

This is flagged for each of the components of IPS.

I'm not sure if this is meant to be a transient error, whilst the upgrade takes place, or if this is blocking the upgrade from proceeding. Either way, the error has been there since I started the upgrade process, and I'm not able to resolve this.

I'm not sure which support tool this is referring to, and the support section in the ACP is now not accessible due to a PHP error.

 

Any help on how to proceed here would be appreciated!

Link to comment
Share on other sites

Please be advised that dev installations are limited in support. Please also be aware that with your license, you are allowed to run 1 Live URL and 1 Test URL. To utilize your Test URL, please update your installation in the ACP to use your license key with "-TESTINSTALL" (no quotes) appended to it.

You may wish to start over here as the 403 errors have me concerned that permissions on the server are not correct or ownership of the folders/files are not correct for you server. This can happen in cases of moving files around on your server and not an issue with the software directly. The CSS and Javascript for the upgrader are contained with the upgrade directory in your /admin directory so frankly, should not be having an issue unless there is a larger issue at hand on the server with accessing files.

Link to comment
Share on other sites

  • Solution

Thanks both - I've quickly realised that there was an unexpected .htaccess in my /admin/ directory that was restricting access to all files. I've renamed this, and the upgrade seems to have gone through correctly without any further issues.

Thanks for the info on the -TESTINSTALL - I'll add that now!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...