Piwigo - how to install (n00b here)

Joewydiart

Cadet
Joined
Dec 10, 2021
Messages
2
Hi, im new to Truenas in overall. I built my own server a couple of weeks ago. I was debating myself if I should go with Synology, Qnap or simply built my own server. At the end opted on building my own since I can get much more for the price. Installed Scale because of dockers. I though it was going to be an easy thing to work with, but this is no friendly environment at all for people like me with no advance knowledge on linux, permissions... Excuse my ignorance and bold move into move to this system with little knowledge, believing that it was a simple matter of just installing a docker and follow on screen instruction and done. (I come from windows environment as you can see) I never tried Synology or Qnap, but as far as I know their apps are way easier to manage.
Still believe this is the best decision based on hardware, but based on easy of use and customization don't think so. I love the way TrueNas Scale looks and all its potential.
So I installed Piwigo from apps panel TrueCharts and I can not pass the installation page.
piwigo.JPG

Where do I get this info? I been trying to find a tutorial online without any luck.

I know some of you will be quick posting that I need to learn first on how to do certain things on linux and truenas, but that is NOT being helpful at all. If you meant to help me please provide simple info on how to acquire the info I need or how to do certain things. One thing I am not venturing here is running commands in shell and end up breaking Scale. I think we should create simple "how to" steps here for future reference. I am also pretty sure that this can solve similar issues with similar applications.
Thank in Advance!!

This is my build:
Motherboard: Asrock Steel Legend B550
CPU: AMD Ryzen 7 5700G
Memory: 32 gb DDR4 3200
Drives:
1 Nvme WD 512gb Blue - Cache Drive
1 Nvme WD 512gb Blue - Log Drive
3x 14 TB Seagate Exos drives as ZFS Raid-Z
1 120gb SSD partitioned as 32gb boot for TRUENAS and remaining GBs as extra available drive for whatever I need.
TrueNas Scale OS
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
I can't help with your piwigo issue other than to say if its Truecharts - then get support from their channels. I have no idea what piwigo even is.

However I notice:
1 Nvme WD 512gb Blue - Cache Drive
1 Nvme WD 512gb Blue - Log Drive


You don't have enough ARC (Memory) for 512GB of L2ARC. This is likely slowing things down rather than speeding things up

Your 512Gb Log Drive. This will only effect synchronous transactions - so largely NFS or iSCSI. If you are just using SMB then this is wasted. Also the WD Blue does not have PLP - which means that when you really need it (assuming its doing anything at all) it won't be there. IF you really need a SLOG then a 32Gb Optane M.2 (or bigger) from Ebay would be a much better choice. Otherwise repurpose those M.2's into a fast pool. Unfortunately (however) whilst I believe you can remove the L2ARC (Cache) drive, I don't think you can remove the SLOG without destroying the pool.

Lastly a SLOG needs a high write endurance device which the Blue really isn't. (This also applies potentially to the cache drive, depending on use).

Using RAIDZ1 on 14TB disks is a risk as resilvering will take a long time during which you have no resilience so if there is an issue - you may lose data. Make sure you have a good backup regime which would mitigate that issue.

The Boot SSD partitioning - remember the available space has no resiliency so ZFS can't do any of its magic with that.

Sorry to pick your build apart!
 

Joewydiart

Cadet
Joined
Dec 10, 2021
Messages
2
Hi there. Piwigo is a self storage for pictures. It also organizes and create a gallery. What I'm looking for is a solution in which I can upload to my server my pictures from my PC and phones.
About my build, thank you. Like a said I'm new here and people like me need tips from more experienced users. I will repurpose that nvme drive.
I do know that the SSD partition is not save and I'm not using it. What I thought I can use it for is for any VM I want to try.

Your help is more than welcome. Truenas is a powerful option for those of us who don't want to by synology or qnap, but the troubles of configuring something or the lack of help from the community scares away a lot of people.
Hopefully someone that knows how to configure this can help or maybe recommend a better solution.
With greatest respect to this community, thanks in advance.
 

Trevor68

Contributor
Joined
Oct 15, 2021
Messages
130
Piwigo installation instructions can be found on their website.


As for why truecharts would deploy it sans PHP or a Database, you will need to ask them on their Discord Server.
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
Piwigo installation instructions can be found on their website.


As for why truecharts would deploy it sans PHP or a Database, you will need to ask them on their Discord Server.

Not 100% sure, feel free to open a discussion about it with our maintainer and support staff for this App. But it might be that the Piwigo container we deploy, simply doesn't allow for us adding a database using env-vars. If that is possible, that definately should be added, but we don't take requests on this forum (as we cannot reasonably keep track of everyplace on the internet).


That being said:
The challenges with TrueNAS SCALE in comparison to Unraid are mostly the networking side of things being more complicated on kubernetes (and the GUI + the fact it's GUI only). Permissions would be the same for both, you still need to set permissions correctly for containers to access your data on either system, as thats no different regardless of which container ecosystem you use.
 

tegra

Cadet
Joined
Jan 5, 2022
Messages
3
I'm wondering the same thing. I am stuck on the installation window.
Hi, im new to Truenas in overall. I built my own server a couple of weeks ago. I was debating myself if I should go with Synology, Qnap or simply built my own server. At the end opted on building my own since I can get much more for the price. Installed Scale because of dockers. I though it was going to be an easy thing to work with, but this is no friendly environment at all for people like me with no advance knowledge on linux, permissions... Excuse my ignorance and bold move into move to this system with little knowledge, believing that it was a simple matter of just installing a docker and follow on screen instruction and done. (I come from windows environment as you can see) I never tried Synology or Qnap, but as far as I know their apps are way easier to manage.
Still believe this is the best decision based on hardware, but based on easy of use and customization don't think so. I love the way TrueNas Scale looks and all its potential.
So I installed Piwigo from apps panel TrueCharts and I can not pass the installation page.
View attachment 51636
Where do I get this info? I been trying to find a tutorial online without any luck.

I know some of you will be quick posting that I need to learn first on how to do certain things on linux and truenas, but that is NOT being helpful at all. If you meant to help me please provide simple info on how to acquire the info I need or how to do certain things. One thing I am not venturing here is running commands in shell and end up breaking Scale. I think we should create simple "how to" steps here for future reference. I am also pretty sure that this can solve similar issues with similar applications.
Thank in Advance!!

This is my build:
Motherboard: Asrock Steel Legend B550
CPU: AMD Ryzen 7 5700G
Memory: 32 gb DDR4 3200
Drives:
1 Nvme WD 512gb Blue - Cache Drive
1 Nvme WD 512gb Blue - Log Drive
3x 14 TB Seagate Exos drives as ZFS Raid-Z
1 120gb SSD partitioned as 32gb boot for TRUENAS and remaining GBs as extra available drive for whatever I need.
TrueNas Scale OS
 

Trevor68

Contributor
Joined
Oct 15, 2021
Messages
130
You probably just need to click on another window and come back to it. That said, you still wont be able to use it, as there are no database details, in fact it would seem like there is no database. Piwigo is also 12.2 now, so you are likely better off just installing it somewhere else.
 

Attachments

  • piwigo.png
    piwigo.png
    43 KB · Views: 404

sophware

Dabbler
Joined
Oct 16, 2020
Messages
37
I can't help with your piwigo issue other than to say if its Truecharts - then get support from their channels. I have no idea what piwigo even is.

However I notice:
1 Nvme WD 512gb Blue - Cache Drive
1 Nvme WD 512gb Blue - Log Drive


You don't have enough ARC (Memory) for 512GB of L2ARC. This is likely slowing things down rather than speeding things up

Your 512Gb Log Drive. This will only effect synchronous transactions - so largely NFS or iSCSI. If you are just using SMB then this is wasted. Also the WD Blue does not have PLP - which means that when you really need it (assuming its doing anything at all) it won't be there. IF you really need a SLOG then a 32Gb Optane M.2 (or bigger) from Ebay would be a much better choice. Otherwise repurpose those M.2's into a fast pool. Unfortunately (however) whilst I believe you can remove the L2ARC (Cache) drive, I don't think you can remove the SLOG without destroying the pool.

Lastly a SLOG needs a high write endurance device which the Blue really isn't. (This also applies potentially to the cache drive, depending on use).

Using RAIDZ1 on 14TB disks is a risk as resilvering will take a long time during which you have no resilience so if there is an issue - you may lose data. Make sure you have a good backup regime which would mitigate that issue.

The Boot SSD partitioning - remember the available space has no resiliency so ZFS can't do any of its magic with that.

Sorry to pick your build apart!
Note: you can remove a SLOG without harming the pool. I've done it many times.
 

Peterv

Cadet
Joined
Mar 13, 2022
Messages
2
Hi, im new to Truenas in overall. I built my own server a couple of weeks ago. I was debating myself if I should go with Synology, Qnap or simply built my own server. At the end opted on building my own since I can get much more for the price. Installed Scale because of dockers. I though it was going to be an easy thing to work with, but this is no friendly environment at all for people like me with no advance knowledge on linux, permissions... Excuse my ignorance and bold move into move to this system with little knowledge, believing that it was a simple matter of just installing a docker and follow on screen instruction and done. (I come from windows environment as you can see) I never tried Synology or Qnap, but as far as I know their apps are way easier to manage. Still believe this is the best decision based on hardware, but based on easy of use and customization don't think so. I love the way TrueNas Scale looks and all its potential. So I installed Piwigo from apps panel TrueCharts and I can not pass the installation page. View attachment 51636 Where do I get this info? I been trying to find a tutorial online without any luck. I know some of you will be quick posting that I need to learn first on how to do certain things on linux and truenas, but that is NOT being helpful at all. If you meant to help me please provide simple info on how to acquire the info I need or how to do certain things. One thing I am not venturing here is running commands in shell and end up breaking Scale. I think we should create simple "how to" steps here for future reference. I am also pretty sure that this can solve similar issues with similar applications. Thank in Advance!! This is my build: Motherboard: Asrock Steel Legend B550 CPU: AMD Ryzen 7 5700G Memory: 32 gb DDR4 3200 Drives: 1 Nvme WD 512gb Blue - Cache Drive 1 Nvme WD 512gb Blue - Log Drive 3x 14 TB Seagate Exos drives as ZFS Raid-Z 1 120gb SSD partitioned as 32gb boot for TRUENAS and remaining GBs as extra available drive for whatever I need. TrueNas Scale OS

Go to the plugin for this app and click on installation notes, the database details are in there.
 
Joined
Apr 15, 2021
Messages
1
Hi, im new to Truenas in overall. I built my own server a couple of weeks ago. I was debating myself if I should go with Synology, Qnap or simply built my own server. At the end opted on building my own since I can get much more for the price. Installed Scale because of dockers. I though it was going to be an easy thing to work with, but this is no friendly environment at all for people like me with no advance knowledge on linux, permissions... Excuse my ignorance and bold move into move to this system with little knowledge, believing that it was a simple matter of just installing a docker and follow on screen instruction and done. (I come from windows environment as you can see) I never tried Synology or Qnap, but as far as I know their apps are way easier to manage.
Still believe this is the best decision based on hardware, but based on easy of use and customization don't think so. I love the way TrueNas Scale looks and all its potential.
So I installed Piwigo from apps panel TrueCharts and I can not pass the installation page.
View attachment 51636
Where do I get this info? I been trying to find a tutorial online without any luck.

I know some of you will be quick posting that I need to learn first on how to do certain things on linux and truenas, but that is NOT being helpful at all. If you meant to help me please provide simple info on how to acquire the info I need or how to do certain things. One thing I am not venturing here is running commands in shell and end up breaking Scale. I think we should create simple "how to" steps here for future reference. I am also pretty sure that this can solve similar issues with similar applications.
Thank in Advance!!

This is my build:
Motherboard: Asrock Steel Legend B550
CPU: AMD Ryzen 7 5700G
Memory: 32 gb DDR4 3200
Drives:
1 Nvme WD 512gb Blue - Cache Drive
1 Nvme WD 512gb Blue - Log Drive
3x 14 TB Seagate Exos drives as ZFS Raid-Z
1 120gb SSD partitioned as 32gb boot for TRUENAS and remaining GBs as extra available drive for whatever I need.
TrueNas Scale OS
I had the same problem. I fixed it by changing the Host from 'localhost' to '127.0.0.1'.
 
Top