Solved 404 error page after upgrading from 1.7.20 to 2.0.26
- littlegolf
- Topic Author
- Offline
- New Member
I have 2 (old) webtrees sites on 2 differents subfolders ( www.mariogolfetto.it/webtrees/golfetty and www.mariogolfetto.it/durigon ) hosted by Aruba.
PHP Version 7.3.33 (for now)
Today I tried to update the first site: I read webtrees.net/upgrade/manual/ and webtrees.net/upgrade/2.0/
So I copied files, I modified config.ini.php (two rows added) and I deleted old php files (but not index.php).
No symbolic links in /data or /../; I don't use robot.txt or sitemap.xml
Now, the problem is: I get no homepage with 404 error page.
The link I read on browser "shots" to a public tree (no login nedded) without succeed.
How I can fix?
PS: The second installation of webtrees is the same of the first, but I don't upgrade for now.
EDIT:
I setup the site in offline mode for security reasons.
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
for www.mariogolfetto.it/webtrees/golfetty/ you have to:
Delete the file data/offline.txt
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
thanks!
I yet replaced the file of zip file downloade from github.
Have I to do it again?
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
That is your decision. The uploaded files do not change themselfs. But if you are not sure that they are already replaced and up to date.Hi Franz,
thanks!
I yet replaced the file of zip file downloade from github.
Have I to do it again?
Please Log in or Create an account to join the conversation.
- hermann
- Offline
- Elite Member
You can check the upgrade information in the German webtrees manual , maybe translating them to Italian by using the function in your browser.
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.
- fisharebest
- Offline
- Administrator
webtrees.net/upgrade/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.
- littlegolf
- Topic Author
- Offline
- New Member
Did you set the correct "base_url" for each site? (in the file config.ini.php).
webtrees.net/upgrade/2.0/
Yes (only for the updated site, the first)
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
Please check that you have deleted the folder /modules_v3 because the old custom modules are not compatible with the new version of webtrees. There should be an empty folder /modules_v4.
You can check the upgrade information in the German webtrees manual , maybe translating them to Italian by using the function in your browser.
Thanks for your messagge.
I renamed the folder, no changes...
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
That is your decision. The uploaded files do not change themselfs. But if you are not sure that they are already replaced and up to date.Hi Franz,
thanks!
I yet replaced the file of zip file downloade from github.
Have I to do it again?
Thank you.
I'm now uploading the files.
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
What is it?
Did you set the correct "base_url" for each site? (in the file config.ini.php).
webtrees.net/upgrade/2.0/
Yes (only for the updated site, the first)
If your answer is only yes.....
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
You can check the upgrade information in the German webtrees manual , maybe translating them to Italian by using the function in your browser.
Thank you for the link to the german manual!
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
What is it?
Did you set the correct "base_url" for each site? (in the file config.ini.php).
webtrees.net/upgrade/2.0/
Yes (only for the updated site, the first)
If your answer is only yes.....
Yes, I mean that I set the config.ini.php file for www.mariogolfetto.it/webtrees/golfetty , not for each
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
I'm now uploading the files.
Files and /data just uploaded; config.ini.php ok, but... same 404 error page.
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
But what is the content for base-url?
last 2 rows:
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
But what is the content for base-url?
last 2 rows:Code:base_url="https://www.mariogolfetto.it/webtrees/golfetty" rewrite_urls="1"
I just deleted the last row
I now get the site but I read various messagges in the central box:
Curiously, when I log in, I don't get the error messagges, but my account is not tha administrator (instead I'm sure yes!)
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
No longer 404 but a database error.
So that is now, where to look
?reinstall your db backup
I am not the expert for switching the db from 1.7 to 2.0
Please Log in or Create an account to join the conversation.
- littlegolf
- Topic Author
- Offline
- New Member
So now you changed something.
?reinstall your db backup
I am not the expert for switching the db from 1.7 to 2.0
I just deleted the db tables and uploaded the db backup: same errors...
Thanks for your help and time!
Mario Golfetto | OpenSource & debian enthusiastic fan
[I'm sorry for my english...]
Please Log in or Create an account to join the conversation.
- Franz Frese
- Offline
- Elite Member
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.