Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2018-09-23 15:51:45

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Problems Upgrading from v1 - v2

I'm trying to upgrade from V1 to v2. I've uploaded the v2 files but when I try to run the installer and enter the order number and email address I'm getting the following...

The installer was unable to connect to the server: https://get.theturninggate.net/install/has_backlight/

Any ideas?

Offline

#2 2018-09-23 16:09:16

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

Note: the .htaccess files etc. are all in the correct places.

Offline

#3 2018-09-23 22:42:05

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Problems Upgrading from v1 - v2

Hi, it sounds like your server is not allowed to talk with our server.
I suggest contacting your host’s technical support and asking them if there are any restrictions on the sites that a PHP script can call, and if so, that they open up access to https://get.theturninggate.net

Offline

#4 2018-09-24 15:07:56

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

Thanks Ben. You were correct. The host had blocked the IP. All working now...

Offline

#5 2018-09-24 22:36:43

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

Spoke too soon.

Backlight 2 is now installed but I'm unable to log in to the admin.

admin/ttg8888 doesn't work and neither does my existing user/password.

Backlight now says the account is locked due to too many failed login attempts and offers a link to send an unlock email yet nothing comes through.

I'm a pretty seasoned web developer trying to set this up for a client as a favour and hitting a lot of hurdles.

Any help/advice is appreciated.

Offline

#6 2018-09-25 12:04:04

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

*bump*

After upgrading to Backlight 2 and trying to login with admin/ttg8888 I'm getting the following message (with a Backlight 2 header on the page so I'm assuming the lock is from Backlight and not the hosting)

"This account is locked.
This account has been locked due to a large number of failed login attempts.

To unlock this account, click Send Unlock Link, below. You will receive a link via email that can be used to unlock your account."

I've clicked the unlock link but no email comes through to the address linked with the account.

The site has now been down for a couple of days.

Offline

#7 2018-09-25 15:10:36

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Problems Upgrading from v1 - v2

Get into the backlight/data/logs folder. The most recent log file will include the link, and you can use that link to reset the password.


Matt

The Turning Gate, http://theturninggate.net

Offline

#8 2018-09-25 17:26:21

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

Ok. Thanks. That did the trick.

Now I'm in and trying to follow the upgrade instructions...
"Visit each of the Admin, Publisher and Designer menu items to upgrade the databases"

There are no "Upgrade database" menu items. Is this done automatically when I visit the root of each menu?

I guess not as I tried that and the site comes up as a new instance - no galleries and only default pages.

EDIT: Just checked and the v1 database is still intact. Phew...

Last edited by soupmedia (2018-09-25 17:31:14)

Offline

#9 2018-09-25 22:38:55

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

So it seems the upgrade has somehow trashed the original site. I have the content on a backup but it would be disappointing to have to rebuild the site again.

Should there be an Upgrade Database link in each of the sections (Admin, Publisher and Designer) as per the upgrade instructions? That feels like the logical step to get Backlight 2 to recognise the v1 content, but there's nothing in the menus and all options are set to the standard defaults as if it was a fresh install.

Am I missing something?

Offline

#10 2018-09-25 22:48:05

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Problems Upgrading from v1 - v2

All of your settings are stored in the database. So as long as you don't delete your existing data/ folder, you should be ok. If you have any old Okapi templates, be sure to also install the Okapi modules from the Backlight Modules page.

There is no "update databases" link. Simply visiting those sections in Backlight triggers a database update if there is an update.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2018-09-26 08:10:31

soupmedia
Member
From: Perth, Western Australia
Registered: 2018-08-08
Posts: 11

Re: Problems Upgrading from v1 - v2

Thanks Rod.

I copied in the data folder from a backup and that triggered the updates - the site seems to be working again.

Strange - I definitely left the original /data and /custom folders in place when I uploaded the v2 installer but they seem to have been overwritten somewhere during the installation. Thanks all for the help.

Offline

Board footer

Powered by FluxBB