CaramelFur / Picsur

An easy to use, selfhostable image sharing service like Imgur with built in converting
https://picsur.org/
GNU Affero General Public License v3.0
774 stars 41 forks source link

Help me log in to my self hosted container #43

Closed trijste closed 1 year ago

trijste commented 1 year ago

How do I create my own account and log in to it? I thought I would use the credentials in the docker-compose file, or change them. I tried to change aspects of the docker-compose file, but I could no longer reach the service at all. I've deleted the container, but would appreciate a lesson. Thanks!

CaramelFur commented 1 year ago

Hi there, the environment variable PICSUR_ADMIN_PASSWORD in the docker compose decides the password of the user admin. This password is populated only on first start, after this the environment variable is no applicable. If you wish to change the password you will have to do so via the admin dashboard. If you then want to add more users, you will have to either enable the registration permission on guests. Or manually add new users from the admin dashboard.

trijste commented 1 year ago

@CaramelFur Thanks for the response. I will give it another go. It will be just me. Ideally I can use Picur to host content and point to it for personal sites, like a portfolio.

CaramelFur commented 1 year ago

@trijste Has the issue been resolved?

iAmSaugata commented 1 year ago

Is there any way to change the password forcefully? probably from database? I am currently locked out after recent update and my older password no longer working. All the images I have uploaded will be lost if I create new one from scratch.

I am able to logon with user id admin and password as picsur, but strangely after logon getting "you do not have permission to upload."

image

trijste commented 1 year ago

@trijste Has the issue been resolved?

I'm sorry I haven't yet attempted to resolve. I will report back after attempting later today.

CaramelFur commented 1 year ago

@trijste I have not heard back anymore, so I assume this issue has been resolved, if not please let know.

trijste commented 1 year ago

@trijste

I have not heard back anymore, so I assume this issue has been resolved, if not please let know.

Sorry for not getting back to you I just haven't picked this back up yet. I will reach out again once I do to say thanks or ask another question.