-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photonix on Unraid - Blank login screen after initial setup. #372
Comments
I know this isn't a huge help but I had the same issue but can't remember what fixed it, I'm running 6.9.2 as well. I do remember following the instructions in the 2nd post on here: https://forums.unraid.net/topic/112590-support-cedev-photonix/ and have had it working ever since. If there's any info I can provide I'd be happy to. EDIT: I see you posted on that thread lol, I also saw my comment there which is what fixed it for me: I also couldn't login (it hung), logs said it couldn't connect to postgres ... I had to set the postgres user to photonix accidentally, had to delete the postgres docker, clear it's app data, re-install and then it was fine. I do believe I also had misunderstood what password to use in the postgres docker (like the previous post to me on that thread). |
@neostim hey sorry for the delayed response, I've still been trying to get this working. I do have a some questions, as I really want to get this working and understand what's happening. I have both my user and database set to "photonix", is that not a good idea?
I used these credentials to create the photonix container and have it access the database, which seems to be working correctly. Did you change the username to something else? Was there anything else you did? |
So in my situation when I had the issue I just deleted and restarted with Postgres, right from the start in my docker compose I made the postgres default database "photonix" and username/password "postgres" (I know, terrible password practice). Then in Photonix I set the postgres user and password to "postgres" and the database to "photonix" and from there everything worked for me. Apologies if this isn't more helpful, I'm by no means an expert but was throwing it together fast to try it out, I ended up going with another comparable solution so haven't been using Photorec lately (it's great, I think the author is just buy being a dad right now :) ). |
Hey, thanks for responding. First, I deleted everything. The way I got everything working was I went through the photonix official docker-compose.example.yml file and made sure I am using EXACTLY the same images, those being: Lastly, I used the default created postgres database, and I think this might also somehow be important. Can I ask what solution you went with in the end? |
I'm glad you got it working! I love Photonix but have been having issues with face detection so started exploring other options (at least for now). I found damselfly and started using it, it's much the same except it uses Azure for facial recognition (everything else is local), so far I've been pretty happy but still testing. |
Yeah, I've been playing with Photonix for a few hours and I'm seeing issues as well. Furthermore, the
The idea is that I just want a single central library initially, but achieving that seems problematic. I was looking at damselfly as well and heard good things, but encountered a strange "Segmentation fault" container crashing issue with it. I want to get back to trying samselfly as well. |
Try posting on damselfly subreddit, I did this morning and had a reply from the author within 30~ minutes, I'm running it in docker on UnRAID without issue so far. I will say I prefer Photonix/Damselfly's object detection but Photoprism for face recognition and layout, I might run Damselfly for object detection and have it write to the EXIF data, then bring it into Photoprism for management/face matching. |
Thanks @neostim I don't want to get too much into the damselfly issue here, as its not this project to be fair, but I just now opened an issue on the damselfly github. I'll take a look at the subreddit and see if there's anything there as well, thanks! If you have time, I would really appreciate you taking a look at the github issue 334 and see if you can reproduce it as simply as I can? It would really help especially as you're using Unraid also. Apart from that, I'm still testing Photonix alongside Photoprism and Damselfly to see if I can get somewhere. |
Describe the bug
Please, I'm trying to seek some help.
Not sure if this is a "bug" but I've been able to reproduce it reliably.
I have got Photonix "running" in a docker container on Unraid 6.9.2, but after setup when I got back to the login page it flashes up for a second then disappears.
I've reinstalled multiple times, cleared postgres and redis, reinstalled all dependencies.
I can login initially and setup Photonix, then next login the login screen flashes up for a second then disappears again. This happens from then on each time the login is accessed.
The logs don't seem to show any errors, shows postgres connected.
I've tried accessing from different browsers, InPrivate mode, different client workstations, same login prompt flashes up for a second then is gone.
Its quite irritating and I cannot find what is the matter.
Can anyone help?
To Reproduce
Using Unraid 6.9.2 stable
Containers used (All available in Unraid "Community Applications"):
Steps to reproduce the behavior:
Expected behavior
Expected Behaviour is for after initial setup, that the Web GUI page is accessible, and able to login for normal use.
Screenshots
Can add screenshots, but not sure if "blank page" is useful.
Can add a video screencap of this if required.
Server (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Here are the docker logs for the "rw-photonix" container:
The text was updated successfully, but these errors were encountered: