CorneliousJD Posted February 21, 2021 Share Posted February 21, 2021 Container requires a MySQL (MariaDB) database in order to function! Photoview is a simple and user-friendly photo gallery that can easily be installed on personal servers. It's made for photographers and aims to provide an easy and fast way to navigate directories, with thousands of high resolution photos. If you have questions regarding setup or development, feel free to join the Discord server: https://discord.gg/jQ392948u9 Demo site Visit https://photos.qpqp.dk/ Username: demo Password: demo More info here: https://github.com/photoview/photoview Quote Link to comment
simuel Posted February 25, 2021 Share Posted February 25, 2021 So, the unRAID version of Photoview doesn't work with the standard instructions. First step is to install a local mysql server, but the Photoview docker is not accessible via console, its just a blank screen. "1. Install a local mysql server, and make a new database" So I set up mysql in another docker, set up a user and created a new database, but Photoview does not want to connect. A line in the logs say "no .env file", but there is no way to access the docker via console to do anything about that. Any suggestions? Quote Link to comment
CorneliousJD Posted February 25, 2021 Author Share Posted February 25, 2021 1 hour ago, simuel said: So, the unRAID version of Photoview doesn't work with the standard instructions. First step is to install a local mysql server, but the Photoview docker is not accessible via console, its just a blank screen. "1. Install a local mysql server, and make a new database" So I set up mysql in another docker, set up a user and created a new database, but Photoview does not want to connect. A line in the logs say "no .env file", but there is no way to access the docker via console to do anything about that. Any suggestions? I successfully tested with Maria DB and used the example string in the template. user:[email protected](IP:PORT)/database For example, if your unRAID IP address is 192.168.1.100 and your MariaDB or MySQL container running on unRAID is on port 3306 And you have a user of "photouser" with a pass of "photopass" and a database name of "photoview" then you would enter the following. photouser:[email protected](192.168.1.100:3306)/photoview Quote Link to comment
roadkill Posted February 25, 2021 Share Posted February 25, 2021 (edited) So i set everything up and it worked fine and was able to scan. However it shows a blank image where the photo is and does show the name of the picture. Any ideas? Edited February 25, 2021 by roadkill add image Quote Link to comment
CorneliousJD Posted February 25, 2021 Author Share Posted February 25, 2021 Just now, roadkill said: So i set everything up and it worked fine and was able to scan. However it shows a blank image where the photo is and does show the name of the picture. Any ideas? Check your appdata photoview folder. Is it actually rendering thumbnails there for you? Quote Link to comment
roadkill Posted February 25, 2021 Share Posted February 25, 2021 2 minutes ago, CorneliousJD said: Check your appdata photoview folder. Is it actually rendering thumbnails there for you? Yes, my appdata folder shows thumbnails of all the images Quote Link to comment
roadkill Posted February 25, 2021 Share Posted February 25, 2021 Just now, roadkill said: Yes, my appdata folder shows thumbnails of all the images I am using mysql if that matters Quote Link to comment
CorneliousJD Posted February 25, 2021 Author Share Posted February 25, 2021 Interesting, I had that issue for a while but didn't for too long. If your library is huge it might take hours to fill out. But if you have a small collection it shouldn't take but a few minutes to start showing up. This is the official docker container so it may be worth reaching out to them on their GitHub page if it doesn't show up in a few hours time? Sorry I can't be of more help directly, I didn't make the program or container, just the template. Quote Link to comment
roadkill Posted February 25, 2021 Share Posted February 25, 2021 no worries, thanks Quote Link to comment
emersonicus Posted February 25, 2021 Share Posted February 25, 2021 (edited) 46 minutes ago, roadkill said: So i set everything up and it worked fine and was able to scan. However it shows a blank image where the photo is and does show the name of the picture. Any ideas? I had this problem I changed the domain to Unraid ip and port in order to show the images PHOTOVIEW_PUBLIC_ENDPOINT: http://IP:8694/ Edited February 25, 2021 by emersonicus 1 Quote Link to comment
roadkill Posted February 26, 2021 Share Posted February 26, 2021 54 minutes ago, emersonicus said: I had this problem I changed the domain to Unraid ip and port in order to show the images PHOTOVIEW_PUBLIC_ENDPOINT: http://IP:8694/ Thanks i'll try it later Quote Link to comment
CorneliousJD Posted February 26, 2021 Author Share Posted February 26, 2021 13 hours ago, emersonicus said: I had this problem I changed the domain to Unraid ip and port in order to show the images PHOTOVIEW_PUBLIC_ENDPOINT: http://IP:8694/ Thanks for posting this. I had always had mine setup when I was doing testing as a public URL that I had Photoview up on for testing reasons and it was loading fine! Quote Link to comment
simuel Posted February 26, 2021 Share Posted February 26, 2021 (edited) CorneliousJD, I got Photoview running, and it was quite a bit of trying different things. So initially I couldn't get Photoview to load no matter what. Looking through the logs it seemed like it was having trouble pinging the mysql server. I tried a fresh install of mariadb and back to mysql and still nothing. What made me suspicious was that the mysql docker wouldn't accept my login credentials even though I changed them. What worked: I set up a fresh mysql docker and used the docker-composer.yml template to set the login and passwords in the initial setup. I used the same settings to in Photoview and viola, it worked! So the mysql docker isn't update the database with any changes, which is what I kept doing after install. Whatever settings are used in the initial install, that's what the docker will use. Hopefully itll help someone else with this too. Edited February 26, 2021 by simuel 1 Quote Link to comment
ikiwi Posted February 27, 2021 Share Posted February 27, 2021 (edited) Scanner error Failed to begin database transaction: failed to process photo (/photos/DSC04092.ARW): open /app/cache/2/3/highres_DSC04092_ARW_6gwa6DDO.jpg: no such file or directory /app/cache is configured properly, folders like /app/cache/2/3/ were created, but there's nothing in it UPD: It seems it doesn't understand .ARW from sony a7rIV, .ARW from a7rII are processing properly. Edited February 27, 2021 by ikiwi Quote Link to comment
ikiwi Posted February 27, 2021 Share Posted February 27, 2021 (edited) Working for me with PHOTOVIEW_PUBLIC_ENDPOINT: http://IP:8694/ with old raws. As far as i found, this docker uses quite an old version of darktable-cli (2.6.0 from dec 2018), so no support for fresh camera raws. How to update it internally in current dockerfile - i've no idea. So if you don't see anything in appdata folder - maybe it just can't create any small/hires jpegs from your files? Edited February 27, 2021 by ikiwi Quote Link to comment
BirdHeezy Posted February 28, 2021 Share Posted February 28, 2021 Good day! I've been looking around at different options to replace google photos and photoview keeps coming up. I've installed the docker on my unraid server everything seems to be up and running. I did change the PHOTOVIEW_PUBLIC_ENDPOINT: to http://IP:PORT and that fixed the photos not showing up. What I'm working on now is getting the site accessable from outside my network. I have letsencrypt installed and have added the CNAME to my DDNS host, but i'm having problems still. I used the template that came with letsencrypt and changed all the variables to my setup but it doesn't seem to work. I wasn't sure if I should upload my .conf file for all to see... I know just enough to dabble in this sort of thing but so far photoview has been pretty great! Quote Link to comment
tulipo Posted February 28, 2021 Share Posted February 28, 2021 Hi guys.... I managed to make it work without too much trouble. I also used the mapbox token to display places on the side. I just can't understand why i can't see the tab people on the side. Maybe it will appear after the first scan is finished?? i have many gb of dslr picture on the hard drive. Thanks in advance and sorry for my noobness !!!! Quote Link to comment
BirdHeezy Posted February 28, 2021 Share Posted February 28, 2021 After adding my photos and running a first scan, the people tab also disappeared for me. Not sure why? Quote Link to comment
crabsticks Posted March 3, 2021 Share Posted March 3, 2021 Hi all, I'm trying to use swag to reverse proxy into photoview but keep getting the bad gateway error, does anyone know what template to use for the conf file? I tried editing the radarr one but clearly somethings not right Quote Link to comment
saber1 Posted March 3, 2021 Share Posted March 3, 2021 On 2/28/2021 at 5:51 PM, BirdHeezy said: After adding my photos and running a first scan, the people tab also disappeared for me. Not sure why? As you can see "Face recognition" is not released yet: https://github.com/photoview/photoview/issues/234 Quote Link to comment
BirdHeezy Posted March 4, 2021 Share Posted March 4, 2021 16 hours ago, crabsticks said: Hi all, I'm trying to use swag to reverse proxy into photoview but keep getting the bad gateway error, does anyone know what template to use for the conf file? I tried editing the radarr one but clearly somethings not right I'm getting this same issue. Not sure what's going on. Quote Link to comment
Energen Posted March 4, 2021 Share Posted March 4, 2021 Does everyone's CPU max out while scanning for photos? This thing was maxing out all my cores/threads until I pinned it down to 2/2 .. Quote Link to comment
saber1 Posted March 4, 2021 Share Posted March 4, 2021 12 hours ago, Energen said: Does everyone's CPU max out while scanning for photos? I don't know if everyones CPU maxed out. But mine did for the time of scanning. Quote Link to comment
ikiwi Posted March 4, 2021 Share Posted March 4, 2021 Photoview is updated, a lot of good stuff! #205 Update Darktable to the latest version (version 3.4.1). This will add support for newer RAW formats, such as Fuji's .arf format. Quote Link to comment
ikiwi Posted March 4, 2021 Share Posted March 4, 2021 On 3/3/2021 at 10:17 PM, saber1 said: As you can see "Face recognition" is not released yet: https://github.com/photoview/photoview/issues/234 Just released Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.