snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Moving from IIS 3.5.1 to Docker latest, issues with user derping during import.

Open thesupporthero opened this issue 6 years ago • 3 comments

Expected Behavior (or desired behavior if a feature request)

I wanted to finally update poc environment, and move to docker to allow more flexibility in the future. Exported backup from old server, moved the SQL file to MySQL image executed the command to import sql file into MySQL. Continued the setup process (docker run -d -p 80:80 --name="snipeit" --link snipe-mysql:mysql --env-file=my_env_file --mount source=snipe-vol,dst=/var/lib/snipeit snipe/snipe-it).


Actual Behavior

LOL, after running 'docker run snipeit php artisan inspire' and getting a wonderful quote, I tested the webpage. I was greeted with an awesome login page. I log in and get whoops, looks like something went wrong.

Normally, I would just dick around with this until I have thrown enough at the wall that something sticks but, sadly I don't have that kinda time. So I have decided to reach out for help.


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

  • Is this a fresh install or an upgrade?

  • Version of Snipe-IT you're running - 4.9

  • Version of PHP you're running - Whatever is built into the docker version for 4.9

  • Version of MySQL/MariaDB you're running - 5.6

  • What OS and web server you're running Snipe-IT on - Docker on ubuntu

  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) -Docker

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error

  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error - "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'snipeit.permission_groups' doesn't exist (SQL: select permission_groups.*, users_groups.user_id ▶"

  • Indicate whether or not you've manually edited any data directly in the database - Yeahhh, you can say that..... :(

Yeah, I know this is a pretty noob question, but I am not sure how the best way to mitigate the issue, since I am going from such a large difference in Versions and I tried migrate but I get "Application in production" and it just cancels the command. I am sure I am just overlooking something and being a noob in general.

Thank you in advance for any advice and/or help you can provide♥

PS: I love all the little touches of love you put into your app, it always brightens my day as I come across them!

thesupporthero avatar Mar 19 '20 21:03 thesupporthero

全新安装 Snipe-IT版本-4.9 php 7.1.33 mysql Ver 15.1 Distrib 5.5.64-MariaDB docker安装 backup error: Whoops, looks like something went wrong. 1

xiaoyanihao avatar Mar 22 '20 17:03 xiaoyanihao

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar May 22 '20 07:05 stale[bot]

This issue has been automatically closed because it has not had recent activity. If you believe this is still an issue, please confirm that this issue is still happening in the most recent version of Snipe-IT and reply to this thread to re-open it.

stale[bot] avatar May 30 '20 06:05 stale[bot]