- Posts: 2165
Question New releases of webtrees
- WGroleau
- Offline
- Platinum Member
Caution! for anyone who (like me) uses the site to serve unrelated files that are too big to send in e-mail!The auto-upgrade has a "cleanup" option. Any files on the disk that are not part of the new release get deleted.
--
Wes Groleau
UniGen.us/
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
You shouldn't be serving files from these folders anyhow...
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- WGroleau
- Offline
- Platinum Member
- Posts: 2165
No, I put them in the top directory so I can give them the shortest URI to download. Also makes it easier for me to find and delete afterward.I should clarify that this only applies to the app, resources and vendor folders.
You shouldn't be serving files from these folders anyhow...
--
Wes Groleau
UniGen.us/
Please Log in or Create an account to join the conversation.
- mbeerli
- Offline
- New Member
- Posts: 87
If we use the ftp method with the 9286 files
How can we trigger the cleanup afterwards?
Webtree 2.1.6, PHP Version 8.1.7, MySQL 5.6.51
Please Log in or Create an account to join the conversation.
- mbeerli
- Offline
- New Member
- Posts: 87
Tried again the automatic update to 2.1.14. Had the 40 errors in the unzipping of the files.
Did all the 9286 files change? If not why not have have different upgrade options? 2.1.x to 2.1.14 and just have those files in the automatic update.
Ftp took about 45min to upload with 5 threads the 9286 files.
Just wondering if there are any other options.
Its not a perfect example but nevertheless I think it shows what I mean.
Example:
Joomla! 4.1.4 Upgrade Package (.zip) 24MB
This package is for performing updates from Joomla! 3.10 and previous 4.x releases to 4.1.4.
versus
Joomla! 4.1.4 Full Package (.zip) 26MB
This is the full download package for Joomla! 4.1.4
I found the following in my directory structure
webtrees/data/tmp/upgrade
I then used filezilla to delete, unfortunately I could not see the exact count because filezilla just removes the lines with the totals. I will try on the next automatic update and do a count and see how far the unzipping worked until we get the 40+ errors (which we assume is a timeout)
But roughly during the automatic update it unzipped 9200 files, so the timeout is maybe right after the unzipping?
Recursively deleting files and directories.
Processed 9250 files in 1140 directories.
Webtree 2.1.6, PHP Version 8.1.7, MySQL 5.6.51
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Not possible.
When webtrees extracts the .ZIP file, it keeps a list of files in the app/vendor/resources folder.
After all files are copied, and after the offline.txt file is removed (i.e. after the upgrade is complete), webtrees will then use any remaining time to remove files from app/vendor/resources that are not on the list.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
> How can we trigger the cleanup afterwards?
Not possible.
Could it be made possible as a new feature?
All the installations which can't use the automatic update would be glad to have that feature available.
Furhtermore it would imply more safety for the installations when not being responsible for manually deleting the right files.
Bogie
webtrees 2.1.22 | PHP 8.3.12 | MariaDB 10.11.8 | Apache on Ubuntu
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
> All the installations which can't use the automatic update would be glad to have that feature available.
If webtrees has permission to read/write the PHP files, then it would be able to run the automatic upgrade - and you wouldn't need this feature...
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
If webtrees has permission to read/write the PHP files, then it would be able to run the automatic upgrade - and you wouldn't need this feature...
I'm not talking about installations which are missing write permission. I'm asking for installations in shared environments which are running out of CPU time or memory size during update.
Bogie
webtrees 2.1.22 | PHP 8.3.12 | MariaDB 10.11.8 | Apache on Ubuntu
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.
- mbeerli
- Offline
- New Member
- Posts: 87
Webtree 2.1.6, PHP Version 8.1.7, MySQL 5.6.51
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
Hermann
Designer of the custom module "Extended Family"
webtrees 2.1.21 (all custom modules installed, PHP 8.3.12, MariaDB 10.6) @ ahnen.hartenthaler.eu
Please Log in or Create an account to join the conversation.
- mbeerli
- Offline
- New Member
- Posts: 87
webtrees.net/upgrade/manual/
Webtree 2.1.6, PHP Version 8.1.7, MySQL 5.6.51
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Then why not add a step in the instructions?
webtrees.net/upgrade/manual/
The upgrade instructions have been kept as simple as possible.
The more complex they are, the less likely it is that people will upgrade.
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
There are a number of bug-fixes, including:
* GEDCOM-L allows _LOC:EVEN:PLAC:_LOC
* Styling error in stories
* Styling error for empty chart boxes
* Missing CAUS/AGNC/RELI subtags on FAM:MARR
* Detect integer overflow on 32bit systems
* Data entry of recording dates: SOUR:DATA:DATE
* Cannot search for media objects by filename
* Links from geographic data go to wrong tree
* Untranslated text for close button
* Family sources shown on individual facts tab
* Long words in user-generated text can break page layout
* Formatting of notes with line-breaks
* GOV IDs can be upper or lower case
* FAM:CHAN should not appear on individual facts page
* Inline media references converted with wrong level for TITL
There are three new features:
* Support for tags created by Aldfaer, Legacy and GEDCOM 7
* New column in module list for data-fixes
* 1950 US census
There is one security fix:
GEDCOM imports containing errors and HTML displayed unescaped.
This security fix has been backported to older versions of webtrees, creating 2.0.24 and 1.7.20
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- HRN
- Offline
- Senior Member
webtrees 2.1.22 at visitusinmaputo.com/webtree PHP 8.2.26
webtrees 2.2 on local Wampserver 3.3.7 PHP 8.4.0 MySQL 9.1.0
Please Log in or Create an account to join the conversation.
- mbeerli
- Offline
- New Member
- Posts: 87
I am in the process of a manual upgrade. Recursive delete of the 3 folders, then uploading the 9k+ files.
I will then test the Kennedy import of the Gedcom file again.
The better the import works the more customers from FTM will try webtrees.
Thank you for your hard work.
Webtree 2.1.6, PHP Version 8.1.7, MySQL 5.6.51
Please Log in or Create an account to join the conversation.
- Patrick
- Away
- Junior Member
At the end of the automatic update to 2.1.5 the following error message was displayed (see below).
But this does not prevent webtrees from working. I haven't found any particular problem for the moment...
webtrees 2.2.1 - (fancy-imagebar, jc-theme-justlight et jc-fancy-treeview disabled) - faces
Navigateur Firefox - Raspbian 12 bookworm - PHP 8.3.8 - MariaDB 10.11.3 - Apache/2.4.59 (Raspbian)
My website : www.webtrees.damia.ch
Please Log in or Create an account to join the conversation.
- fisharebest
- Topic Author
- Offline
- Administrator
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- WGroleau
- Offline
- Platinum Member
- Posts: 2165
--
Wes Groleau
UniGen.us/
Please Log in or Create an account to join the conversation.
- Bogie
- Offline
- Elite Member
- Life is good!
webtrees 2.1.7 is now available for download.
For details and a changelog, see webtrees.net/blog/
Thanks for the new release and many improvements to the discussed issues since the last release.
Bogie
webtrees 2.1.22 | PHP 8.3.12 | MariaDB 10.11.8 | Apache on Ubuntu
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen
Please Log in or Create an account to join the conversation.