Upgrade von 3.0.11 auf 4.1.0

Please report bugs here!

Moderator: Thorsten

Post Reply
asadatec
Posts: 23
Joined: Fri Jul 17, 2020 12:05 pm

Upgrade von 3.0.11 auf 4.1.0

Post by asadatec »

Beim Versuch unser FAQ von 3.0.11 auf 4.1.0 upzugraden stoße ich auf Probleme. Ich gehe vor wie in der Dokumentation beschrieben, allerdings erscheint nach dem Entpacken der tar.gz Datei auf der vorgegebenen URL ein 500 Internal Server Error.
2026-03-26 08_33_25-500 Internal Server Error — Mozilla Firefox.png
Das error_faq.log unter apache2 enthält folgende Meldung:
"[Thu Mar 26 08:28:11.945687 2026] [core:alert] [pid 12844:tid 12875] [remote 192.168.2.233:56165] /var/www/phpmyfaq/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
"
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15802
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgrade von 3.0.11 auf 4.1.0

Post by Thorsten »

Hi,

hast du schon die 4.1.1 ausprobiert?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
asadatec
Posts: 23
Joined: Fri Jul 17, 2020 12:05 pm

Re: Upgrade von 3.0.11 auf 4.1.0

Post by asadatec »

Hallo,

Ich habe mir nun einen erneuten Versuch vorgenommen, das System upzudaten. Diesmal auf die 4.1.4.
Ich habe unseren Server erst in eine VM Kopiert, um das Upgrade zu testen und nichts zu zerschießen, allerdings stoße ich hier wieder auf Probleme. Ich gehe vor wie in der Dokumentation 'Upgrading from phpMyFAQ 3.0.x' beschrieben (von 3.0.11).

Nachdem ich die Update URL aufrufe, erscheint eine Meldung, ich solle die RewriteBase anpassen, ich weiß allerdings nicht was ich dort reinschreiben soll. Die aufgerufene URL ist 'https://192.168.2.11/update/', im laufenden Betrieb wäre es dann 'faq.asadatec.de'
You do not have the required permissions to view the files attached to this post.
Thorsten
Posts: 15802
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgrade von 3.0.11 auf 4.1.0

Post by Thorsten »

Hi,

da ein 500er Fehler vom Server kommt, wär gut zu wissen, was in den Logs steht.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
asadatec
Posts: 23
Joined: Fri Jul 17, 2020 12:05 pm

Re: Upgrade von 3.0.11 auf 4.1.0

Post by asadatec »

Hallo,
In den Logs steht folgendes:

/var/log/apache2/error_faq.log:
"[Mon Jun 08 08:48:39.737756 2026] [proxy_fcgi:error] [pid 943:tid 976] [remote 192.168.2.233:60504] AH01071: Got error 'PHP message: phpMyFAQ ErrorException: pg_query(): Query failed: ERROR: relation "faqcategory_order" does not exist\nLINE 16: LEFT JOIN faqcategory_order fco\n ^ in Pgsql.php on line 112\nStack trace:\n#0 [internal function]: phpMyFAQ\\Core\\Error::errorHandler()\n#1 /var/www/phpmyfaq/src/phpMyFAQ/Database/Pgsql.php(112): pg_query()\n#2 /var/www/phpmyfaq/src/phpMyFAQ/Category/CategoryRepository.php(108): phpMyFAQ\\Database\\Pgsql->query()\n#3 /var/www/phpmyfaq/src/phpMyFAQ/Category.php(287): phpMyFAQ\\Category\\CategoryRepository->findOrderedCategories()\n#4 /var/www/phpmyfaq/src/phpMyFAQ/Category.php(122): phpMyFAQ\\Category->getOrderedCategories()\n#5 /var/www/phpmyfaq/index.php(335): phpMyFAQ\\Category->__construct()\n#6 {main}', referer: https://192.168.2.11/update/"

/var/log/apache2/access_faq.log:
"192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /update/ HTTP/2.0" 200 1926 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /assets/public/update.js HTTP/2.0" 200 1373 "https://192.168.2.11/update/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /assets/public/styles.css HTTP/2.0" 200 94403 "https://192.168.2.11/update/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /assets/public/assets/theme-switcher-Cm_GEonn.js HTTP/2.0" 200 839 "https://192.168.2.11/assets/public/update.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /assets/public/assets/bootstrap-C6O5Pzjy.js HTTP/2.0" 200 23553 "https://192.168.2.11/assets/public/update.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /assets/public/fonts/bootstrap-icons.woff2?24e3eb84d0bcaf83d77f904c78ac1f47 HTTP/2.0" 200 134184 "https://192.168.2.11/assets/public/styles.css" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "POST /api/setup/check HTTP/2.0" 500 1105 "https://192.168.2.11/update/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
192.168.2.233 - - [08/Jun/2026:08:48:39 +0200] "GET /assets/images/favicon.ico HTTP/2.0" 200 40119 "https://192.168.2.11/update/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0"
"
Thorsten
Posts: 15802
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgrade von 3.0.11 auf 4.1.0

Post by Thorsten »

Hi,

thanks for the logs, I found the issue.

phpMyFAQ 4.1.5 will fix the issue, it will be released soon.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply