Web based family history software

Question Upgrading webtrees 1.7.9 is Inconsistent

  • aeneas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #1 by aeneas
Time has come to upgrade webtrees. In this case a test system is being run on a local network using XAMPP and an online (Live) system is run on a Web Hosting Service. The idea is to perform changes in a test environment to verify that results are as expected before messing with the Live System.

Both are now the same using webtrees 1.7.9. However, on the Test System an automatic upgrade is being offered but NOT so on the Live System. Have no idea if relevant but can say that Test System uses PHP 7.2.17 and Apache 2.4.39 whereas Live System uses PHP 7.3.27 and Apache 2.4.46.

Is there an accurate explanation for this inconsistent behavior? If so what to do about it?

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #2 by fisharebest
Replied by fisharebest on topic Upgrading webtrees 1.7.9 is Inconsistent
> Is there an accurate explanation for this inconsistent behavior?

An accurate explanation would require a detailed examination of your server.

Here are some guesses:

Your server cannot make outgoing HTTP requests, due to a firewall or similar.
The clock is wrong on your server.
The clock was wrong on your server in the past.

What is the IP address of your server? (I can check the logs on the upgrade server to see if it receives your request).

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • aeneas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #3 by aeneas
Replied by aeneas on topic Upgrading webtrees 1.7.9 is Inconsistent
173.254.28.109

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #4 by fisharebest
Replied by fisharebest on topic Upgrading webtrees 1.7.9 is Inconsistent
I do not see this IP address in the server logs.

Perhaps your server is not permitted to make outgoing connections?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #5 by fisharebest
Replied by fisharebest on topic Upgrading webtrees 1.7.9 is Inconsistent
In your database, look in the table wt_site_setting for entries for LATEST_WT_VERSION and LATEST_WT_VERSION_TIMESTAMP


What values do you have?

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • aeneas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #6 by aeneas
Replied by aeneas on topic Upgrading webtrees 1.7.9 is Inconsistent
LATEST_WT_VERSION = 1.4.6|1.0.0|https://github.com/fisharebest/webtrees/releases/download/1.4.6/webtrees-1.4.6.zip
LATEST_WT_VERSION_TIMESTAMP = 1619629157

It does appear that the shared hosting service involved here does impose restrictions on the ports that can be used for making outgoing connections. Is a known/given port used for this purpose? If so what is it?

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #7 by fisharebest
Replied by fisharebest on topic Upgrading webtrees 1.7.9 is Inconsistent
> Is a known/given port used for this purpose? If so what is it?

webtrees uses standard HTTP (80) and HTTPS (443) ports for outgoing connections.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

  • aeneas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #8 by aeneas
Replied by aeneas on topic Upgrading webtrees 1.7.9 is Inconsistent
Those are supposed to be open/available!

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #9 by fisharebest
Replied by fisharebest on topic Upgrading webtrees 1.7.9 is Inconsistent
PS - webtrees will also use other ports for sending mail. You will need to select these in the control panel.

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
2 years 10 months ago #10 by eh215
Replied by eh215 on topic Upgrading webtrees 1.7.9 is Inconsistent
I understand the frustration when an automatic upgrade is not working as it should. However, from a more pragmatic perspective, since you are starting with very old software, would it not be a better use of time and effort to simply download version 1.7.18 from the download folder and follow the steps for a manual install ?

From there you could transition to the 2.1 or 2.0.15 release as you wish.

Yes, the upgrade should work automatically, but where do you want to spend your time and effort?

Eric

Please Log in or Create an account to join the conversation.

  • aeneas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 10 months ago #11 by aeneas
Replied by aeneas on topic Upgrading webtrees 1.7.9 is Inconsistent
Yes! It is NOT that important for automatic upgrade to work.

Part of my interest is simply in learning how webtrees works. As it happens after backing up my test system I tried running the auto upgrade there. However, while it was at least available it also failed but appears to have been in a manner that did NO harm to the original (working) system.

I'll probably try a manual upgrade before undertaking a complete new install. This is providing a lesson in the value of maintaining a test system. I can experiment without harming the real online system.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
}