snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.21k stars 3.2k forks source link

Official Docker Preflight infinite loop Create User #12294

Closed nelsonov closed 1 year ago

nelsonov commented 1 year ago

Debug mode

Describe the bug

After a first time install and startup per directions for the official Docker image, I get an infinite loop at the Create Admin User stage. Every time I submit, I get bounced back to the same Create Admin User page. All the form items are filled out with the previous values except for the password fields. I have tried every type of password imaginable and never see any errors related to passwords.

Reproduction steps

  1. Create my_env_file per instructions for SSL Disabled
  2. Start docker mysql image per instructions
  3. Start docker snipe-it image per instructions
  4. Get app key
  5. Edit my_env_file to contain app key
  6. Stop snipeit container
  7. rm snipeit container
  8. Start snipeit container
  9. Go to http://mysecreturl.com:8001
  10. Pass all configuration tests
  11. Create Database Tables
  12. Create Admin User ...

Expected behavior

Move on to Finished for setup

Screenshots

No response

Snipe-IT Version

Docker image latest (2022-12-21T01:31:47.397790656Z)

Operating System

Debian 11

Web Server

docker image

PHP Version

docker image

Operating System

Windows 11

Browser

Chrome

Version

108.0.5359.125 (Official Build) (64-bit)

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

Debugging is turned on.  No error messages in browser

Additional context

No response

welcome[bot] commented 1 year ago

πŸ‘‹ Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

nelsonov commented 1 year ago

I have also completely removed the images, containers, volumes, etc for both the mysql and snipe-it and started with a fresh install following the instructions and ended up with the same result.

nelsonov commented 1 year ago

This turns out to be a PEBKAC error. On my monitor I could not see the red box around the currency form and since the USD happens to be the right choice for me and it was already in the form, I didn't figure out that I actually needed to put something in there.

Just by chance I tried it at work and my work monitor I saw the red box.

Sorry to have opened the issue.

snipe commented 1 year ago

No problem! Thanks for the follow up :)