This is iocage plugin to create Piwigo 14.x, an open source photo gallery software for the web. Designed for organisations, teams and individuals. More details at http://piwigo.org
I have tested this plugin couple of times on my TrueNAS 13 U5 as a 13.1-RELEASE, all seems to work well.
Tip 1. Please remember to read info in TrueNAS / Plugins / Piwigo / POST INSTALL NOTES - to access info with DB user and DB password. Piwigo first installation page will set Host: as localhost, usually this needs to be changed to 127.0.0.1
Host: 127.0.0.1
Tip 2. Please set your own date/time location in PHP.INI, as for this installation I have chosen Europe/London ;)
To install Piwigo plugin manually from the internet:
iocage fetch -P piwigo -g https://github.com/AfroUSApl/iocage-plugin-piwigo ip4_addr="interface|IPaddress"
where interface is the name of the active network interface and IP address is the desired IP address for the plugin. For example, ip4_addr="igb0|192.168.0.91"
PHP
date.timezone = "Europe/London"
max_execution_time = 300
max_input_time = 300
post_max_size = 100M
upload_max_filesize = 100M
memory_limit = 512M
date.timezone = "Europe/London"
max_execution_time = 300
max_input_time = 300
post_max_size = 100M
upload_max_filesize = 100M
memory_limit = 512M
Enable this extension for mysqli in PHP.ini
extension=mysqli
Nginx
proxy_connect_timeout 600s
proxy_send_timeout 600s
proxy_read_timeout 600s
fastcgi_send_timeout 600s
fastcgi_read_timeout 600s
pm.max_children = 35
pm.start_servers = 15
pm.min_spare_servers = 15
pm.max_spare_servers = 20
request_terminate_timeout = 300
proxy_connect_timeout 600s
proxy_send_timeout 600s
proxy_read_timeout 600s
fastcgi_send_timeout 600s
fastcgi_read_timeout 600s
pm.max_children = 35
pm.start_servers = 15
pm.min_spare_servers = 15
pm.max_spare_servers = 20
request_terminate_timeout = 300
I successfully updated my iocage Release 12.2 to 13.1, this is my procedure:
outside the iocage
iocage upgrade -r 13.1 piwigo
Note: This will take some time
- Type "y" for yes when inquiries occur
- Type "q" for "quit" when the validation list appears, you may need to type it several times depending on the number of affected items
- Type "y" for yes for any additional inquiries
iocage upgrade -r 13.1 piwigo
Note: This will take some time
- Type "y" for yes when inquiries occur
- Type "q" for "quit" when the validation list appears, you may need to type it several times depending on the number of affected items
- Type "y" for yes for any additional inquiries
inside the iocage
pkg update && pkg upgrade -y
pkg install php83 php83-session php83-mysqli nginx mariadb105-server ImageMagick7-nox11 git php83-exif php83-filter php83-gd php83-mbstring php83-zip php83-zlib php83-pecl-json_post finfo php83-fileinfo
pkg update && pkg upgrade -y
pkg install php83 php83-session php83-mysqli nginx mariadb105-server ImageMagick7-nox11 git php83-exif php83-filter php83-gd php83-mbstring php83-zip php83-zlib php83-pecl-json_post finfo php83-fileinfo
Than restart iocage and log in to your gallery. I had an option to upgrade Piwigo to 14.1.0 ;)