Web based family history software

Question Last migration to 2.1.13 is not working

  • Klugesherz
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 5 months ago #1 by Klugesherz
Last migration to 2.1.13 is not working was created by Klugesherz
An update to the last minor version from 2.1.xx (I guess it was .10) --> 2.1.12 didn't work.
However even the upgrade didn't work, webtrees was still accessible and working

Today, I followed the last recommendation to upgrade to .13
From 2.1.10 --> 2.1.13

Here below the result

What to do ?
Thanks in advance

Code:
Error: Class "Fisharebest\webtrees\Elements\FamilyResidence" not found in /htdocs/webtrees/app/Gedcom.php:476 Stack trace: #0 /htdocs/webtrees/app/Gedcom.php(1117): Fisharebest\webtrees\Gedcom->gedcom551Tags() #1 /htdocs/webtrees/app/Http/Middleware/RegisterGedcomTags.php(52): Fisharebest\webtrees\Gedcom->registerTags(Object(Fisharebest\webtrees\Factories\ElementFactory), true) #2 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\RegisterGedcomTags->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #3 /htdocs/webtrees/app/Http/Middleware/LoadRoutes.php(75): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #4 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\LoadRoutes->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #5 /htdocs/webtrees/app/Http/Middleware/CheckForNewVersion.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #6 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CheckForNewVersion->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #7 /htdocs/webtrees/app/Http/Middleware/UseTransaction.php(45): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #8 /htdocs/webtrees/vendor/illuminate/database/Concerns/ManagesTransactions.php(29): Fisharebest\webtrees\Http\Middleware\UseTransaction::Fisharebest\webtrees\Http\Middleware\{closure}(Object(Illuminate\Database\MySqlConnection)) #9 /htdocs/webtrees/app/Http/Middleware/UseTransaction.php(46): Illuminate\Database\Connection->transaction(Object(Closure), 3) #10 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseTransaction->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #11 /htdocs/webtrees/app/Http/Middleware/DoHousekeeping.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #12 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\DoHousekeeping->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #13 /htdocs/webtrees/app/Http/Middleware/UseTheme.php(69): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #14 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseTheme->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #15 /htdocs/webtrees/app/Http/Middleware/CheckForMaintenanceMode.php(51): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #16 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CheckForMaintenanceMode->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #17 /htdocs/webtrees/app/Http/Middleware/UseLanguage.php(71): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #18 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseLanguage->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #19 /htdocs/webtrees/app/Http/Middleware/UseSession.php(78): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #20 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseSession->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #21 /htdocs/webtrees/app/Http/Middleware/UpdateDatabaseSchema.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #22 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UpdateDatabaseSchema->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #23 /htdocs/webtrees/app/Http/Middleware/UseDatabase.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #24 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\UseDatabase->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #25 /htdocs/webtrees/app/Http/Middleware/BadBotBlocker.php(245): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #26 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BadBotBlocker->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #27 /htdocs/webtrees/app/Http/Middleware/CompressResponse.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #28 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\CompressResponse->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #29 /htdocs/webtrees/app/Http/Middleware/ContentLength.php(40): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #30 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ContentLength->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #31 /htdocs/webtrees/vendor/middlewares/client-ip/src/ClientIp.php(65): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #32 /htdocs/webtrees/app/Http/Middleware/ClientIp.php(47): Middlewares\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #33 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ClientIp->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #34 /htdocs/webtrees/app/Http/Middleware/HandleExceptions.php(90): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #35 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\HandleExceptions->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #36 /htdocs/webtrees/app/Http/Middleware/BaseUrl.php(73): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #37 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\BaseUrl->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #38 /htdocs/webtrees/app/Http/Middleware/ReadConfigIni.php(68): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #39 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\ReadConfigIni->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #40 /htdocs/webtrees/app/Http/Middleware/SecurityHeaders.php(48): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #41 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\SecurityHeaders->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #42 /htdocs/webtrees/app/Http/Middleware/EmitResponse.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #43 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\webtrees\Http\Middleware\EmitResponse->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #44 /htdocs/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #45 /htdocs/webtrees/app/webtrees.php(275): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest)) #46 /htdocs/webtrees/app/webtrees.php(262): Fisharebest\webtrees\webtrees::dispatch(Object(Nyholm\Psr7\ServerRequest), Array) #47 /htdocs/webtrees/index.php(51): Fisharebest\webtrees\webtrees->httpRequest() #48 {main}

webtrees 2.1.x---> My famility tree
PHP 8.0

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

More
1 year 5 months ago #2 by rweinl
Replied by rweinl on topic Last migration to 2.1.13 is not working
Same problem for me

Robert
1. webtrees 2.1.18 on D'Alsace en Lorraine < www.robert-weinland.org/webtrees/ > (PHP 8.0.30 - MySQL 8.0.30 - Rural theme 2.1.18)
2. webtrees 2.1.18 on Familles de Chérence < www.cherence95-fr.org/webtrees/ > (PHP 7.4.29 - MySQL 7.4.33 - Rural theme 2.1.18)

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

More
1 year 5 months ago #3 by walgemoed
Replied by walgemoed on topic Last migration to 2.1.13 is not working
Same problem for me

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

More
1 year 5 months ago #4 by ric2015
Replied by ric2015 on topic Last migration to 2.1.13 is not working
Check the contents of your Gedcom.php file against the current version .

If the upgrade wizard did not replace this file correctly for multiple users, there may still be a bug in the upgrade process?

Richard

webtrees 2.1.19 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available at cissee.de

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

More
1 year 5 months ago - 1 year 5 months ago #5 by Lars1963
Last edit: 1 year 5 months ago by Lars1963.

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

More
1 year 5 months ago - 1 year 5 months ago #6 by eh215
Replied by eh215 on topic Last migration to 2.1.13 is not working
Same error message and my server never has any trouble downloading & installing.

The process seemed to run just fine each step OK, but obviously something is missing. [strike]Working on a manual install now.[/strike] Manually installing the entire .zip file fixed it, I didn't have the time to look for any specific file issues.
Last edit: 1 year 5 months ago by eh215.

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

More
1 year 5 months ago #7 by walgemoed
Replied by walgemoed on topic Last migration to 2.1.13 is not working

Same problem for me

I manually uploaded the 'app' folder to the server and that solved it for me.

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

  • Klugesherz
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 year 5 months ago #8 by Klugesherz
Replied by Klugesherz on topic Last migration to 2.1.13 is not working
Based on www.webtrees.net/index.php/en/forum/help...2-1-13-crashes#96308

I downloaded webtrees 2.1.13.zip from webtrees.net/download

I transferred the file vendor/symfony/cache/Adapter/ArrayAdapter.php

But same issue

Finally, as highlighted by walgemoed I manually uploaded the 'webtrees\app' folder to the server

And it fixed the issue.

webtrees 2.1.x---> My famility tree
PHP 8.0

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

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
1 year 5 months ago #9 by fisharebest
Replied by fisharebest on topic Last migration to 2.1.13 is not working
The error messages show that the file app/Gedcom.php is not being updated - and you still have the previous version of this file.

This file is definitely included in the release file: webtrees-2.1.13.zip.

I guess that this file (and potentially other files?) were uploaded to the server.
Try a manual upgrade - webtrees.net/upgrade/manual

FYI, I have upgraded many sites, and none have this error.
But it is curious that several people have the same issue.

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

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

More
1 year 5 months ago #10 by rweinl
Replied by rweinl on topic Last migration to 2.1.13 is not working
Problem solved after manually uploading the webtrees-2.1.13.zip file.

Robert
1. webtrees 2.1.18 on D'Alsace en Lorraine < www.robert-weinland.org/webtrees/ > (PHP 8.0.30 - MySQL 8.0.30 - Rural theme 2.1.18)
2. webtrees 2.1.18 on Familles de Chérence < www.cherence95-fr.org/webtrees/ > (PHP 7.4.29 - MySQL 7.4.33 - Rural theme 2.1.18)

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

More
1 year 5 months ago - 1 year 5 months ago #11 by pbat
Replied by pbat on topic Last migration to 2.1.13 is not working
Same problem here, manually replacing app/Gedcom.php with the version extracted from the zip archive apparently solved the issue - everything seems to be working.
Last edit: 1 year 5 months ago by pbat.

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

More
1 year 5 months ago #12 by pbat
Replied by pbat on topic Last migration to 2.1.13 is not working

Same problem here, manually replacing app/Gedcom.php with the version extracted from the zip archive apparently solved the issue - everything seems to be working.

Mmmhhh.. except it still reports version 2.1.8, and suggests to upgrade to 2.1.13. And I'm sure I didn't miss so many versions - I usually get the message a new version is available and update immediately.

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

More
1 year 5 months ago #13 by hermann
Replied by hermann on topic Last migration to 2.1.13 is not working
@pbat: have you read webtrees.net/upgrade/

There is an important sentence regarding 2.1.8 and 2.1.9:

These two versions of webtrees contain a bug in the auto-upgrade code. The upgrade will appear to run successfully, but it does not install any files. The bug is in the file app/Http/RequestHandlers/UpgradeWizardStep.php. You can download an updated version of this file from here .


Hermann
Designer of the custom module "Extended Family"

webtrees 2.1.20 (all custom modules installed, PHP 8.2, MariaDB 10.6) @ ahnen.hartenthaler.eu

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

More
1 year 5 months ago #14 by pbat
Replied by pbat on topic Last migration to 2.1.13 is not working

@pbat: have you read webtrees.net/upgrade/

There is an important sentence regarding 2.1.8 and 2.1.9:

I hadn't! Thanks, I replaced the file and now everything seems fine.

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

Powered by Kunena Forum
}