Loading...
 

History: Virtualmin Tiki Manager PHP 7.4 to 8.1

Preview of version: 9

Virtualmin Tiki Manager PHP 7.4 to 8.1

Context: in May 2023, Tiki trunk/master changed requirements from PHP 7.4 to 8.1. So if you have some Tiki instances running trunk/master with Virtualmin Tiki Manager, they will not upgrade automatically.

1.1. Pick Virtualmin Virtual Server

  • Server configuration -> PHP Options
    • PHP script execution mode: FPM
    • PHP service maximum sub-processes: Default
    • Maximum PHP script run time: 30 seconds
    • PHP version: 8.1.x
    • PHP error log file: Default log file /home/username/logs/php_log
  • Services -> PHP-FPM Configuration
    • Error Logging
      • Display error messages: Yes
      • Error types to display: All errors and warnings

1.2. SSH in as root

  • cd /opt/tiki-manager/app
  • php tiki-manager instance:edit
  • switch PHP executable path from /usr/bin/php7.4 to /usr/bin/php8.1


Image

To do: explore if php tiki-manager instance:detect could be improved to handle this

1.3. Tiki manager update

  • Via GUI or CLI


GUI: Services -> Tiki Manager -> Instance Update -> Update

As of 2023-05-20, you may get an error "Updating Tiki Packages... may take a while ERROR Failed to update Tiki Packages. Check /opt/tiki-manager/app/logs/trim.output for more details" This will be solved shortly.

History

Advanced
Information Version
Marc Laporte 19
View
Marc Laporte 18
View
Marc Laporte 17
View
Marc Laporte 16
View
Marc Laporte With all the latest fixes 15
View
Marc Laporte 14
View
Marc Laporte 13
View
Marc Laporte 12
View
Marc Laporte 11
View
Marc Laporte 10
View
Marc Laporte 9
View
Marc Laporte 8
View
Marc Laporte 7
View
Marc Laporte 6
View
Marc Laporte 5
View
Marc Laporte 4
View
Marc Laporte 3
View
Marc Laporte 2
View
Marc Laporte 1
View