Skip to content
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

Can't login with default user #4

Closed
1 task done
jakaerc opened this issue Sep 17, 2024 · 9 comments · Fixed by #5 or #6
Closed
1 task done

Can't login with default user #4

jakaerc opened this issue Sep 17, 2024 · 9 comments · Fixed by #5 or #6
Assignees
Labels
bug Something isn't working

Comments

@jakaerc
Copy link

jakaerc commented Sep 17, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When frst time on login page after install I can't login with [email protected].

Expected Behavior

I should login with user: [email protected] and pass: demo

Steps To Reproduce

/

Environment

- OS: UNRAID

CPU architecture

x86-64

Docker creation

linuxserver unraid app

Container logs

text  error  warn  system  array  login  

Connection to localhost (127.0.0.1) 1337 port [tcp/*] succeeded!
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
planka: https://github.com/sponsors/meltyshev

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: v1.22.0-ls3
Build-date: 2024-09-16T20:03:31+00:00
───────────────────────────────────────
    
Waiting for DB 13.8.92.27 to become available on port 5432...
[custom-init] No custom files found, skipping...
[ls.io-init] done.
2024-09-17 15:21:41 [W] Invalid email or username: "[email protected]"! (IP: 89.21190)
Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thespad
Copy link
Member

thespad commented Sep 17, 2024

Looks like at some point upstream changed the default user so that it doesn't actually insert the user into the database unless you...set the default user to the default value. Linked PR should fix it.

@jakaerc
Copy link
Author

jakaerc commented Sep 17, 2024

I'm new to this. How do I implement the fix? Thank you.

@thespad
Copy link
Member

thespad commented Sep 17, 2024

Just wait until we've merged the PR and then pull the latest image.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 17, 2024
@jakaerc
Copy link
Author

jakaerc commented Sep 18, 2024

This now works but with every reset it readds the [email protected] user again and you can't delete it.

@thespad
Copy link
Member

thespad commented Sep 18, 2024

Well that's not great design. I'll have a look and see if I can find a way to not reinsert the user on subsequent runs, otherwise I'll have to change the setup process to work around it.

@thespad thespad reopened this Sep 18, 2024
@thespad thespad self-assigned this Sep 18, 2024
@thespad thespad added the bug Something isn't working label Sep 18, 2024
@LinuxServer-CI LinuxServer-CI moved this from Done to Issues in Issue & PR Tracker Sep 18, 2024
@thespad
Copy link
Member

thespad commented Sep 18, 2024

@jakaerc please can you test ghcr.io/linuxserver/lspipepr-planka:v1.22.0-pkg-07fc2934-dev-51c866446b5244a1d8c6fc29e6bfffb3b32f4896-pr-6

Please note you now need to set these envs (to whatever you want)

      - [email protected]
      - DEFAULT_ADMIN_PASSWORD=demo
      - DEFAULT_ADMIN_NAME=Demo User
      - DEFAULT_ADMIN_USERNAME=demo

They can be removed after the first run if you choose.

@jakaerc
Copy link
Author

jakaerc commented Sep 18, 2024

This seems to be working now as I was able to delete the demo user but not sure if I would know where to input the envs on fresh install as I'm doing it over unraid. Would there be an input field in the unraid template?

@thespad
Copy link
Member

thespad commented Sep 18, 2024

There will be once the PR is merged and the templates update

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
2 participants