Piwigo 14 Plugin for TrueNAS 13 Release and PHP 8.3 - ready to test!

FosCo

Dabbler
Joined
Sep 20, 2020
Messages
23
Check Postinstall notes, should be piwigodb as user for db afair
 

cjmdk

Dabbler
Joined
Aug 25, 2019
Messages
29
Check Postinstall notes, should be piwigodb as user for db afair
Thank you :smile: Reading the information carefully helps (installation is now complete)
 

cjmdk

Dabbler
Joined
Aug 25, 2019
Messages
29
Great plugin, thank you for the effort making it available!

Any recommendatation or experience adding mount points and ACL setup on datasets? The Jail destination folder is not clear to me + permissions allowing e.g. photo upload from phones
 

cjmdk

Dabbler
Joined
Aug 25, 2019
Messages
29
Any thoughts/knowledge of ongoing development of this jail? E.g. according to the recent upgrade of Pigiwo to version 12.x
How to upgrade Piwigo within the existing jail?
 

AfroUSA

Dabbler
Joined
Mar 27, 2017
Messages
28
Any thoughts/knowledge of ongoing development of this jail? E.g. according to the recent upgrade of Pigiwo to version 12.x
How to upgrade Piwigo within the existing jail?
Hi,
I manage to update from Piwigo itself. Login to Admin, Tools and than Updates :)
No issues so far ;)
 

tegra

Cadet
Joined
Jan 5, 2022
Messages
3
I just installed this on TrueNAS-12.0-U7 and I noticed that this installed as HTTP instead of https. Why is that? Everything should be https now. Thanks
 

ver151set

Dabbler
Joined
Jan 28, 2015
Messages
37
I just installed this on TrueNAS-12.0-U7 and I noticed that this installed as HTTP instead of https. Why is that? Everything should be https now. Thanks
Because most of us likely use a reverse proxy to handle https
 

ErikGÅ

Cadet
Joined
Feb 23, 2022
Messages
1
I am totally new to truenas.
I am using truenas to store our family’s photos. We are using the app PhotoSync to upload all images from mobile.

PhotoSync creates sub folders year/month. I would like to setup piwigo to just use as a gallery. I am guessing that I can point piwigo to the root folder on the mount place and it will pull in all new photos?

Is the installation of the app really easy or does it requires any coding or advanced Linux knowledge?

Will piwigo do any copy of the photos or will it just load the files and will not require any big storage?

If I would like to make piwigo accessible outside my lan how would I do that?

Sorry all the questions but appreciate any answers.
And big kudos to make the app available as a plug-in!
 

phier

Patron
Joined
Dec 4, 2012
Messages
398
Last edited:

technogeekfb

Cadet
Joined
Sep 19, 2022
Messages
1
Hello,
I am trying to install it but when I go to ip address it says cant connect I can not access webui
 

AfroUSA

Dabbler
Joined
Mar 27, 2017
Messages
28
Yesterday I had a moment to upgrade my iocage with Piwigo 12 to new Piwigo 13.
Which caused a lot of issues with missing php components and modules

So after upgrade I needed to install additional PHP components finfo, fileinfo and JSON.

But before that, I needed to upgrade iocage with Piwigo from 11.2 to 12.2 release, as PKG would not fetch updates. As of release no longer supported.

So now I have iocage with Piwigo 13 and PHP 7.4 solid on my home server inside iocage 12.2-RELEASE-p15

I have updated piwigo.json and post_install.sh GitHub Master branch, as well as on the 12.2-RELEASE branch.

Hopefully this will work soon on Truenas plugins

As for now, you can 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"

In my case, I did not use interface and ip4_addr, it was added automatically.
So only this:

:wink:


UPDATE 09/01/2024

Hello all! Merry Christmas an happy new year ;)

I had an hour free and manage to update Piwigo plugin on my GitHub to Piwigo 14.x, PHP 8.3 and iocage RELEASE 13.1.
This is the way to pull manually Piwigo 14.x from my GitHub:

you can still do it this way:
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"

tested this today morning on my TrueNAS 13.0 U5.3 with positive results :smile:
root@freenas:/mnt # iocage fetch -P piwigo -g https://github.com/AfroUSApl/iocage-plug
in-piwigo
Plugin: Piwigo14
Official Plugin: False
Using RELEASE: 13.1-RELEASE
Using Branch: 13.1-RELEASE
Post-install Artifact: https://github.com/AfroUSApl/iocage-plugin-piwigo.git
These pkgs will be installed:
- ImageMagick7-nox11
- git
- nginx
- mariadb105-server
- php83
- php83-exif
- php83-filter
- php83-gd
- php83-mbstring
- php83-mysqli
- php83-session
- php83-zip
- php83-zlib
- php83-pecl-json_post
- finfo
- php83-fileinfo

Testing Host DNS response to pkg.FreeBSD.org
Testing Piwigo131's SRV response to pkg.FreeBSD.org
Testing Piwigo131's DNSSEC response to pkg.FreeBSD.org

Installing plugin packages:
- ImageMagick7-nox11...
- git...
- nginx...
- mariadb105-server...
- php83...
- php83-exif...
- php83-filter...
- php83-gd...
- php83-mbstring...
- php83-mysqli...
- php83-session...
- php83-zip...
- php83-zlib...
- php83-pecl-json_post...
- finfo...
- php83-fileinfo...

Fetching artifact...
Cloning git repository

Branch 13.1-RELEASE does not exist at https://github.com/AfroUSApl/iocage-plugin-piwig
o.git!
Using "master" branch for plugin, this may not work with your RELEASE

Running post_install.sh
nginx_enable: -> YES
mysql_enable: -> YES
php_fpm_enable: -> YES
Performing sanity check on nginx configuration:
Starting nginx.
Performing sanity check on php-fpm configuration:
Installing MariaDB/MySQL system tables in '/var/db/mysql' ...
OK

To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system


Two all-privilege accounts were created.
One is root@localhost, it has no password, but you need to
be system 'root' user to connect. Use, for example, sudo mysql
The second is mysql@localhost, it has no password either, but
you need to be the system 'mysql' user to connect.
After connecting you can set the password, if you would need to be
able to connect as any of these users with a password and without sudo

See the MariaDB Knowledgebase at https://mariadb.com/kb

You can start the MariaDB daemon with:
cd '/usr/local' ; /usr/local/bin/mariadb-safe --datadir='/var/db/mysql'

You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/local/' ; perl mariadb-test-run.pl

Please report any problems at https://mariadb.org/jira

The latest information about MariaDB is available at https://mariadb.org.

Consider joining MariaDB's strong and vibrant community:
mariadb.org/get-involved

Starting mysql.
Starting mysql.
cp: /usr/local/etc/mysql/my-small.cnf: No such file or directory
Starting mysql.
mkdir: /usr/local/etc/nginx/conf.d: File exists
Starting mysql.
Starting mysql.
mkdir: /usr/local/etc/php-fpm.d: File exists
Database User: piwigouser
Database Password: u7RU7eOobLMga7ex
File exists
Database User: piwigouser
Database Password: u7RU7eOobLMga7ex
Cloning into 'Piwigo'...
Performing sanity check on php-fpm configuration:
Cloning into 'Piwigo'...
Performing sanity check on php-fpm configuration:
Cloning into 'Piwigo'...
Starting php_fpm.
Cloning into 'Piwigo'...
Performing sanity check on nginx configuration:
Cloning into 'Piwigo'...
Stopping nginx.
Cloning into 'Piwigo'...
Cloning into 'Piwigo'...
Waiting for PIDS: 8931.
Cloning into 'Piwigo'...
Performing sanity check on nginx configuration:
Cloning into 'Piwigo'...
Starting nginx.
Cloning into 'Piwigo'...

Admin Portal:
root@freenas:/mnt #
CaKbBkHl.png
 
Last edited:
Top