Web based family history software

Question upgrade 1.7 - 2.1 question

  • jopla
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago - 1 year 10 months ago #1 by jopla
upgrade 1.7 - 2.1 question was created by jopla
Hi,

I want to upgrade my webtrees site to the newest version. I made now a test following the instruction: webtrees.net/upgrade/manual/ . But now I see a lot of unused file left in de directories. What is the easiest way to clean them up?

Or should it better to remove everything except the [tt]/data[/tt] directory before copying the new version?

Further some other questions:
Nicknames:
To show nicknames I found here an instruction: webtrees.net/faq/nicknames/
Have I now, upgrading to 2.1, to change all names by hand to see the nickname in the name of the person or is there a automatic way?
In 1.7 we had this option:



Favorites:
In 1.7 there was a menu item to favorites when you are logged-in. In 2.1 I cannot find it back. Is it removed or did I not look well?


Thanks for reaction,

Jop
Last edit: 1 year 10 months ago by jopla.

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

  • Bogie
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
1 year 10 months ago #2 by Bogie
Replied by Bogie on topic upgrade 1.7 - 2.1 question
You can delete folders and contents of 'app', 'resources' and 'vendor'.

Nicknames are not displayed anymore in the headline by webtrees. For displaying nicknames there are some add-on modules.
The option you found is only for the short list of available facts at the end of your individual page.

The block favorites still exists and can be used on the main page of the trees and on your 'my page'. But the list has to be newly created.

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.

More
1 year 10 months ago #3 by fisharebest
Replied by fisharebest on topic upgrade 1.7 - 2.1 question
> > But now I see a lot of unused file left in de directories. What is the easiest way to clean them up?
> You can delete folders and contents of 'app', 'resources' and 'vendor'.

You should also delete all the .php files in the top-level folder - except for index.php.

If you want webtrees to redirect all your old URLs, then you (a) must delete these files, and (b) must enable pretty-urls.

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

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

  • jopla
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago - 1 year 10 months ago #4 by jopla
Replied by jopla on topic upgrade 1.7 - 2.1 question
Ai, maybe the folder vendor shouldn't to delete. I got now the error that /vendor/autoload.php is not available according to line 29 in index.php.

Or can it be another failure?
Last edit: 1 year 10 months ago by jopla.

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

More
1 year 10 months ago #5 by fisharebest
Replied by fisharebest on topic upgrade 1.7 - 2.1 question
> > You can delete folders and contents of 'app', 'resources' and 'vendor'.

I didn't read this message correctly.

It should have said

Delete the folders *except* app, data modules_v4, public, resources, vendor

I guess you will need to copy these to the server again :-(

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
  • Elite Member
  • Life is good!
More
1 year 10 months ago #6 by Bogie
Replied by Bogie on topic upgrade 1.7 - 2.1 question
jopla said:
Code:
I want to upgrade my webtrees site to the newest version. I made now a test following the instruction: webtrees.net/upgrade/manual/ . But now I see a lot of unused file left in de directories. What is the easiest way to clean them up? Or should it better to remove everything except the /data directory before copying the new version?

That could be interpreted as what you intended to do ... not what you just did.
Deleting the 3 folders is recommended before any upgrade to make sure that no old files remain.
After an upgrade you have to sort out manually which files are old and which ones are new.

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.

  • jopla
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago - 1 year 10 months ago #7 by jopla
Replied by jopla on topic upgrade 1.7 - 2.1 question
Hi Bogie,

Never mind, I succeed to update my site now. Thanks for help.

Nicknames are not displayed anymore in the headline by webtrees. For displaying nicknames there are some add-on modules.
The option you found is only for the short list of available facts at the end of your individual page.
Do you have a link to this Add-on? I couldn't find it.

The block favorites still exists and can be used on the main page of the trees and on your 'my page'. But the list has to be newly created.
In past it was a dropdown menu item, now a block. For a menu item I presume I have to make it by myself, I'm afraid. ;)
Last edit: 1 year 10 months ago by jopla.

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

  • jopla
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 10 months ago #8 by jopla
Replied by jopla on topic upgrade 1.7 - 2.1 question

> > You can delete folders and contents of 'app', 'resources' and 'vendor'.

I didn't read this message correctly.

It should have said

Delete the folders *except* app, data modules_v4, public, resources, vendor

I guess you will need to copy these to the server again :-(

Thanks, I succeed!

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

  • Bogie
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
1 year 10 months ago #9 by Bogie
Replied by Bogie on topic upgrade 1.7 - 2.1 question

Do you have a link to this Add-on? I couldn't find it.

At least Vesta does the job. But be aware it does much more.
github.com/vesta-webtrees-2-custom-modules/vesta_classic_laf

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.

Powered by Kunena Forum