- Posts: 9
Question 500 after migrate to other server
- scalak
- Topic Author
- Offline
- New Member
Less
More
3 years 8 months ago #1
by scalak
500 after migrate to other server was created by scalak
Hi,
I changed server and instead all media/thumbnails i have pink box with "500"
- PHP Version 7.4.3
- DB mysql data migrate by export/import dbase
- files migrate by rsync
- in access_log i have log with request file eg.
"GET /webtrees/index.php?route=%2Fwebtrees%2Ftree%2Fxxx%2Fmedia-thumbnail&s=4e324bd0ba9a0d821b44328eac95a626&xref=M7978&fact_id=d6c95cf530731212c4b8a68643c71465&w=0&h=0&fit=contain&mark=&markh=100h&markw=100w&markpos=center&markalpha=25&or=0&q=45 HTTP/1.1" 200 194
but see "500"
- error_log - nothing about this file
have You an idea what could be wrong? Or do I have to install and export via webtrees?
Best regards
Maciej
I changed server and instead all media/thumbnails i have pink box with "500"
- PHP Version 7.4.3
- DB mysql data migrate by export/import dbase
- files migrate by rsync
- in access_log i have log with request file eg.
"GET /webtrees/index.php?route=%2Fwebtrees%2Ftree%2Fxxx%2Fmedia-thumbnail&s=4e324bd0ba9a0d821b44328eac95a626&xref=M7978&fact_id=d6c95cf530731212c4b8a68643c71465&w=0&h=0&fit=contain&mark=&markh=100h&markw=100w&markpos=center&markalpha=25&or=0&q=45 HTTP/1.1" 200 194
but see "500"
- error_log - nothing about this file
have You an idea what could be wrong? Or do I have to install and export via webtrees?
Best regards
Maciej
Please Log in or Create an account to join the conversation.
- ungeahnt
- Offline
- Junior Member
3 years 8 months ago - 3 years 8 months ago #2
by ungeahnt
Dieter
Schmidt ⚭ Schwab (Sudeten) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (България)
webtrees 2.1.17 | PHP 8.1 | MariaDB 10.5
Replied by ungeahnt on topic 500 after migrate to other server
Hi,
you have read the Differences in 2.0 in special
Greetings
you have read the Differences in 2.0 in special
Media folders containing /../
In webtrees 1.7, media folders could contain /../, to specify a folder outside the /data folder.
In webtrees 2.0, this is not allowed. Media files and folders must live entirely within your /data folder (or the folder you specified in the control panel).
Greetings
Dieter
Schmidt ⚭ Schwab (Sudeten) | Hauer ⚭ Bühler (Bayern / BW) | Маринов ⚭ Шаламанова (България)
webtrees 2.1.17 | PHP 8.1 | MariaDB 10.5
Last edit: 3 years 8 months ago by ungeahnt.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
3 years 8 months ago #3
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic 500 after migrate to other server
Control panel -> Website -> Website logs
Do you see any error messages?
Do you see any error messages?
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- scalak
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
3 years 8 months ago #4
by scalak
Replied by scalak on topic 500 after migrate to other server
thx fisharebest! New installation, copy db and data = is ok.
Maciej
Maciej
Please Log in or Create an account to join the conversation.