Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PhotoPrism: Self Hosted Photos - Google Photos Alternative?

Featured Replies

  • 4 weeks later...

Hi, I've been trying to get PhotoPrism going but I keep getting "fail to connect" when I click WebUI.

I created the database in MariaDB using adminer, I follow instructions from:

https://docs.photoprism.org/getting-started/advanced/databases/

CREATE DATABASE photoprism
CHARACTER SET = 'utf8mb4'
COLLATE = 'utf8mb4_unicode_ci';

and

CREATE USER 'photoprism'@'%' IDENTIFIED BY 'insecure';
GRANT ALL PRIVILEGES ON photoprism.* to 'photoprism'@'%';
FLUSH PRIVILEGES;

in the photoprism settings I selected Network Type: custom:photoprism, I also seleted the storage and data directories.

The Photoprims Database Type: I set it up as mysql

also the MySQL Database Connection: photoprism:insecure@tcp(MariaDB:3306)/photoprism?parseTime=true (where MariaDB is my ip address shown in adminer.

 

I'm not sure what I'm doing wrong.

 

any help?

 

  • 5 months later...
On 10/15/2021 at 5:51 AM, Oscar Armendariz said:

Hi, I've been trying to get PhotoPrism going but I keep getting "fail to connect" when I click WebUI.

I created the database in MariaDB using adminer, I follow instructions from:

https://docs.photoprism.org/getting-started/advanced/databases/

CREATE DATABASE photoprism
CHARACTER SET = 'utf8mb4'
COLLATE = 'utf8mb4_unicode_ci';

and

CREATE USER 'photoprism'@'%' IDENTIFIED BY 'insecure';
GRANT ALL PRIVILEGES ON photoprism.* to 'photoprism'@'%';
FLUSH PRIVILEGES;

in the photoprism settings I selected Network Type: custom:photoprism, I also seleted the storage and data directories.

The Photoprims Database Type: I set it up as mysql

also the MySQL Database Connection: photoprism:insecure@tcp(MariaDB:3306)/photoprism?parseTime=true (where MariaDB is my ip address shown in adminer.

 

I'm not sure what I'm doing wrong.

 

any help?

 

im in the same step. i honestly think that we didnt specify what database in the connection. so we put in the db username and pw and the server address and port but nowhere did we put in the database name. we did change from sqlite to mysql. unsure if its in THIS step where we put in the database name?

 

edit: fixed it. it was a database name.  in the connection string, change /photoprism? to reflect the database name. so the instructions should read: 'DBUSER:DBPASSWORD@tcp(DBIP:DBPORT)/DBNAME?parseTime=true'

Edited by droopie

  • 2 months later...
On 3/24/2022 at 3:14 PM, droopie said:

im in the same step. i honestly think that we didnt specify what database in the connection. so we put in the db username and pw and the server address and port but nowhere did we put in the database name. we did change from sqlite to mysql. unsure if its in THIS step where we put in the database name?

 

edit: fixed it. it was a database name.  in the connection string, change /photoprism? to reflect the database name. so the instructions should read: 'DBUSER:DBPASSWORD@tcp(DBIP:DBPORT)/DBNAME?parseTime=true'

Thanks your "edit" totally helped I was going nuts!

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.