Question New release of webtrees 2.1.21
- fisharebest
- Topic Author
- Offline
- Administrator
There is also a 2.2.0 release. This has a few more fixes (e.g. autorotate images), but requires PHP 8.3 or higher. It's not yet available using the auto-upgrade, although you can install it manually.
The auto-upgrade to 2.2.0 currently gives a harmless (but scary) error message. It's caused by a date-time library. Half of it is loaded before the upgrade (from 2.1), and half gets loaded after the upgrade (from 2.2). The two halves are not compatible.
I will need to create a 2.1.22 release, and then you will be able to auto-ugprade 2.1.21 -> 2.1.22 -> 2.2.0
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Peter_S
- Offline
- Premium Member
thank you so much for your tireless efforts and all the time you put into developing webtrees.
May I ask what's next on the roadmap? GEDCOM 7? Flexible reports? Others?
Can you give us a small but non-binding glimpse?
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Please Log in or Create an account to join the conversation.
- RickM
- Offline
- Junior Member
Totally agree with these statements and the request for some glimpse!!Hello Greg,
thank you so much for your tireless efforts and all the time you put into developing webtrees.
May I ask what's next on the roadmap? GEDCOM 7? Flexible reports? Others?
Can you give us a small but non-binding glimpse?
Rick M
Tauranga
New Zealand - Nu Tirani
alineofmalkins.com/wt-malkins
Webtrees v2.2.1
Hosted by HostAmarada on litespeed Server, PHP v8.3
Please Log in or Create an account to join the conversation.
- RickM
- Offline
- Junior Member
I did a 'Manual Upgrade' to 2.2.0 and I now suffer the 'white screen of mysterious death' <Smile>..
Error Log Shows
2024-11-24 03:48:35.600917 [NOTICE] [71015] [T0] [116.90.75.234:16965:HTTP2-5#APVH_alineofmalkins.com.mosleyfamilies.net:443] [STDERR] PHP Fatal error: Uncaught Error: Typed static property Fisharebest\Webtrees\I18N::$locale must not be accessed before initialization in /xxx/alineofmalkins.com/wt_malkins/app/I18N.php:361\nStack trace:\n#0 /xxx/alineofmalkins.com/wt_malkins/app/Factories/TimestampFactory.php(50): Fisharebest\Webtrees\I18N::locale()\n#1 /xxx/alineofmalkins.com/wt_malkins/app/Factories/TimestampFactory.php(81): Fisharebest\Webtrees\Factories\TimestampFactory->make()\n#2 /xxx/alineofmalkins.com/wt_malkins/app/SessionDatabaseHandler.php(88): Fisharebest\Webtrees\Factories\TimestampFactory->now()\n#3 [internal function]:
Could be related to your initial notice of 'harmless (but Scary) error'.
I cannot restore from a backup.. Silly me thought full backup were being done daily on my server.. They are only incremental.. Gotta change this..
Ok, so I walked away for a bit and came up with lets look at modules..
Watermark Module was causing the white screen issue!!
There are a number of other Modules I'm using that create errors, including
JC Fancy Research Links
JC Simple Media
Extended Import Export
HUH WT WTLIN
HUH WT TAM
The new reports modules
Rick M
Tauranga
New Zealand - Nu Tirani
alineofmalkins.com/wt-malkins
Webtrees v2.2.1
Hosted by HostAmarada on litespeed Server, PHP v8.3
Please Log in or Create an account to join the conversation.
- fa10175
- Away
- Senior Member
- Posts: 455
i have a question about webtrees 2.2
this version work only with PHP 8.3 and 8.4 so i should upgrade my PHP 8.2 to 8.3?
Thanks
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
yesThanks Greg
i have a question about webtrees 2.2
this version work only with PHP 8.3 and 8.4 so i should upgrade my PHP 8.2 to 8.3?
Thanks
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Yes.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
1) Manually install 2.1.21
2) Wait for the authors of your modules to confirm compatibility with webtrees 2.2, or produce new versions
3) Then install 2.2.0
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
All these things need changes to the database structure.
However, what makes this difficult is upgrading existing sites. Apart from the logic of the change, we have to work with PHP time/memory limits. If you have a large site, then even changing an index on a table can take many minutes (i.e. longer than your server timeouts). So, we will also need some sort of job queue system.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- RickM
- Offline
- Junior Member
Rick M
Tauranga
New Zealand - Nu Tirani
alineofmalkins.com/wt-malkins
Webtrees v2.2.1
Hosted by HostAmarada on litespeed Server, PHP v8.3
Please Log in or Create an account to join the conversation.
- Peter_S
- Offline
- Premium Member
Peter
webtrees 2.1.22, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.3.12, MariaDB 10.11.8
Webhosting: genonline.de
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
That is the "recommended" version to install for each version of PHP.On the page Download webtrees , the supported versions of PHP for webtrees-2.1.21 should be corrected to 7.4-8.4.
The list of supported versions is webtrees.net/install/requirements/
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- miqrogroove
- Offline
- New Member
- Posts: 94
The auto-upgrade to 2.2.0 currently gives a harmless (but scary) error message. It's caused by a date-time library. Half of it is loaded before the upgrade (from 2.1), and half gets loaded after the upgrade (from 2.2). The two halves are not compatible.
Is it safe to manually upgrade from 2.1.20 to 2.2.0?
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Do you have PHP 8.3 or 8.4?
Are all your third-party modules tested against webtrees 2.2.0?
If yes, then you can upgrade.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Brandmannetje
- Offline
- New Member
I upgraded to 2.1.21 by auto update, however my modules v4 folder is empty now.
Is this a bug, earlier upgrades no troubles occured.
Installed my modules again and everything seems to work fine now
Arno
General website:
www.familie-sormani.eu
Treewebsite:
www.sormani.familie-sormani.eu
on Webtrees and Vesta latest versions
Please Log in or Create an account to join the conversation.
- jcnventura
- Offline
- New Member
See www.php.net/supported-versions
João Ventura - venturas.org/familytree
Please Log in or Create an account to join the conversation.