Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Advice on upgrading from wt 1.7.12 to wt 2.0.6 6 days 23 hours ago #1

  • Ormhaugen
  • Ormhaugen's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 9
I'm about upgrading from wt 1.7.12 to wt 2.0.6 and need some advice. Should I first upgrade automatically to 1.7.17 and then to 2.0.6, or is it best to manually upload the 2.0.6 files and overwrite the 1.7.12 installation?
Geir

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 6 days 22 hours ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13196
It makes no difference.

From 1.7.12 to 1.7.17 there are no significant changes - just security and PHP compatibility fixes.

So, you can go straight from 1.7.12 to 2.0.6.

The instructions are here:
webtrees.net/upgrade/2.0/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 6 days 21 hours ago #3

  • Ormhaugen
  • Ormhaugen's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 9
Thank you for a quick answer.
This means that I just upload the 2.0.6 files to the server and overwriting the 1.7.12 installation?
Geir

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 6 days 21 hours ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13196
> This means that I just upload the 2.0.6 files to the server and overwriting the 1.7.12 installation?

Yes - that will work.

A better option is to delete all the webtrees1 files first.

Usually, this means you can delete everything *except* /data

But of course, do not delete any files that *you added*.

e.g. if you have created a folder of backups, do not delete it.
e.g. if you have uploaded an identification file for google-webmaster-tools, do not delete it.
e.g. if you have uploaded pictures for your home page, then do not delete it.
etc.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 6 days 17 hours ago #5

  • Ormhaugen
  • Ormhaugen's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 9
Thank you so much for your help.
Geir

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 5 days 21 hours ago #6

Hello.

I am on webtrees 1.7.16 and tried the automatic upgrade to 1.7.17 which normally works without a hitch, got this message this time:

Unzip webtrees-1.7.17.zip to a temporary folder…
An error occurred when unzipping the file.
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

So I am wandering if might be best to upgrade to 2.0.6 if I have to do a manual upgrade. On Packagist for 2.0.6 I can't find the supported PHP versions for it as I will need to check with my providers as to what version they are on.That information used to be on the forum home page which seems to have changed since my last visit.

Also I have custom themes and organised the site with a Dummy tree for greater control, will these affected with 2.0.6.


BTW... unrelated but I tried to retrieve old posts (regarding dummy trees and to refresh my memory as to the advice I was given and what I did). My Topics is empty but found some in my profile which shows a total of 85 posts with nine pages but only one page seems to be available with only ten posts. Have the others been deleted?

Thanks for your help.
potain
Novice in all webtrees matters and in every respect

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 5 days 20 hours ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13196
> PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

See webtrees.net/faq/upgrade-pclzip/

> So I am wandering if might be best to upgrade to 2.0.6 if I have to do a manual upgrade.

Read webtrees.net/upgrade/2.0/ before you upgrade. There are some manual steps/checks.

> Also I have custom themes

Themes/modules for 1.7 will not work with 2.0

> organised the site with a Dummy tree for greater control, will these affected with 2.0.6.

Dummy tree? Is this because your main tree is private, and you want to allow user registrations?
If yes, then this is not needed. In 2.0, users can register on sites when all trees are private.

> Have the others been deleted?

I don't know. Give me an example?

It is possible that forum areas have been renamed, so maybe the links do not work?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 5 days 6 hours ago #8

fisharebest > Have the others been deleted?I don't know. Give me an example?


I did a Search by User Name (potain); Search Options: Any date and Newer; Search at a specific date: blank and the result and as an example:
Nine pages, Displaying 1 - 15 out of 164 results. going back to 14 Sep 2010 21:37 (my first post , I think) - "My congratulations too" 9 years 9 months ago ( www.webtrees.net/index.php/en/forum/2-op...ratulations-too#3296 ).

So my old posts are hopefully still there. I'll need to spend some time going through them all to find what I was looking for.

fisharebest >Themes/modules for 1.7 will not work with 2.0

I am looking at the webtrees folder on my local machine, probably a very early version but still applicable, and the themes are stored in a themes folder whereas in 2.0.6 the structure is different with them in a php of their own in webtrees/app/module. I have a minimal theme as the default theme (for the Dummy Tree) and an adapted one for the real tree.

fisharebest >Dummy tree?

primarily for privacy and security reasons so that visitors had no way of gaining access to the data since the tree was empty, menu links removed and only upon registration would they gain access to the real tree. It was quite a lot of work to get it right but might have made it not so user friendly and a bit of a deterrent for new regos. If I can do away with it and have a similar level of privacy for my members and security, great.

I do want to preserve the css changes and other alterations (if I can remember what they were) contained in the altered, real theme.

What I might do is a fresh install the latest version of XAMPP for Windows( PHP 7.4.7) and 2.0.6 experiment and work through any adaptations on my local machine and when happy with it then FTP it to the server in a new folder (keeping 1.7.16 as a backup/reference).

Do you please have any instructions on how to work with, alter or add themes to version 2?

Thank you fisharebest .

P.S. do you have any idea if XAMMP can be installed and used on an external drive (on Win 10 64 bit) to make it portable or if it needs to be installed on an internal drive? Thank you
Novice in all webtrees matters and in every respect

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

Last edit: by potain. Reason: new query
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Advice on upgrading from wt 1.7.12 to wt 2.0.6 5 days 5 hours ago #9

xampp has a portable version
very practical because we can make a backup of the directory and have like that several environments to test what we want.
for me, I have a version in 1.7 and in 2.0
- nginx 1.14.2 - PHP 7.3.9- - MariaDB 10.3.17-MariaDB-
- Local server -
- webtrees - SVN - latest
- webtrees 1.7.16

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 5 days 3 hours ago #10

  • bertkoor
  • bertkoor's Avatar
  • Offline
  • Gold
  • Gold
  • Greetings from Utrecht, Holland
  • Posts: 1934
> I do want to preserve the css changes and other alterations (if I can remember what they were) contained in the altered, real theme.

That will be problematic. As said, themes & modules from 1.7 are not compatible at all with 2.0.

Since the layout has been changed drastically, you'll have other ideas about what needs to be altered anyway.
This time please do it right: do not change a base theme, but pick a theme closest to what you want and base your own custom theme on that by extending it.
Example: github.com/fisharebest/webtrees/tree/mas...xample-theme.disable
Also look for "Custom CSS - by makitso" in the custom modules section.
stamboom.BertKoor.nl runs on webtrees v1.7.13

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

Last edit: by bertkoor.

Advice on upgrading from wt 1.7.12 to wt 2.0.6 4 days 22 hours ago #11

I deleted all directory of a webtrees 1.7 installation except \data and then uploaded the files of the latest wt 2.x with ftp. I could start this webtrees installation, but got the message that I've to upgrade on webtrees 2.0.6. At the end of the upgrade I got this error:



After the start of wt 2.0.6 I see now this message:
…/vendor/illuminate/container/Container.php:630
#0 …/vendor/oscarotero/middleland/src/Dispatcher.php(97): Illuminate\Container\Container->get('Fisharebest\\Web...')
#1 …/vendor/oscarotero/middleland/src/Dispatcher.php(126): Middleland\Dispatcher->get(Object(Nyholm\Psr7\ServerRequest))
#2 …/app/Http/Middleware/HandleExceptions.php(54): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#3 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\HandleExceptions->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#4 …/app/Http/Middleware/EmitResponse.php(52): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#5 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\EmitResponse->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#6 …/app/Http/Middleware/PhpEnvironment.php(46): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#7 …/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\PhpEnvironment->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher))
#8 …/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest))
#9 …/index.php(57): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest))
#10 {main}
www.verwandten.info / PHP Version 7.2.12
Attachments:

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 4 days 20 hours ago #12

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13196
> I could start this webtrees installation, but got the message that I've to upgrade on webtrees 2.0.6

You installed 2.0.6, and then saw a message telling you to upgrade to 2.0.6?

> At the end of the upgrade I got this error:

> "Undefined constant WT_BASE_URL at app/Helpers/functions.php line 159"

This error can only come from 2.0.0-beta.1 or 2.0.0-beta.2

Somehow, you have installed a very old version of the code.
I suggest you try again.

You can download 2.0.6 from here:
github.com/fisharebest/webtrees/releases...6/webtrees-2.0.6.zip
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 4 days 19 hours ago #13

Thank you for this information. It works now.
www.verwandten.info / PHP Version 7.2.12

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

Advice on upgrading from wt 1.7.12 to wt 2.0.6 3 days 6 hours ago #14

Upgraded to 1.7.17 on the server afer applying Fix: #3112

fa10175 wrote: xampp has a portable version

Thanks, searched for and found a zipped version on their site after your post.

bertkoor wrote: This time please do it right..

Hello bertkoor, hope all is well with you. Thanks for the advice, links and hints. I did do it right, I ought to have said adapted rather than altered as the custom theme was built on the webtrees one and following the instructions with judicious css changes to match the colour scheme I wanted. It looks like not such an easy task with WT2.

What I can't remenber is how and where I swoped the webtrees logo for my own on the home page and I guess this a change more involved with 2. But it's also identifying elements and where they are located to make changes - for instance I would like to centre the Title element in the HTML ‘Home page’ block. Wouldn't have a clue where to start.

Users
I installed WT2.06 on XAMPP with webtrees2 as db name so as not to conlict with the server's 1.1.17 webtrees db, the user tables are naturally empty. Are the user tables structures the same?

When you override the 1.1.7 installation it obviously preserves those tables? Not sure which is the best way forward.

Start afresh with a copy of tne 1.1.17 server installation to local XAMPP with an import of the webtree db into a webtree2 db and then apply WT2 so that it incorporates the users tables.

Or if the structures are the same with PHPAdmin on the server to export the user tables (wt_user , wt_user_setting , wt_user_gedcom_setting) and then import them into the local webtrees2 db.

Thanks in advance for your help.
Novice in all webtrees matters and in every respect

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

  • Page:
  • 1
Powered by Kunena Forum