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

Database Migration error SQLSTATE[HY000]: General Error #7132

Closed
2 tasks done
101Lizardman opened this issue Jun 7, 2019 · 3 comments
Closed
2 tasks done

Database Migration error SQLSTATE[HY000]: General Error #7132

101Lizardman opened this issue Jun 7, 2019 · 3 comments
Labels

Comments

@101Lizardman
Copy link

101Lizardman commented Jun 7, 2019

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

Describe the bug
I am upgrading from Snipe-it v to v4.7.4

When attempting to migrate the database with php artisan migrate, I get a syntax error:
image

...so I edit the file and remove the offending character...
image

...and am then met with a collection of different errors:
image

I have not received any error messages prior to this.

Expected behavior
A migration of the database

Screenshots
Shown above

Server (please complete the following information):

  • Snipe-IT Version: Upgrading from v to v4.7.4
  • OS: Ubuntu 16.04.2
  • Web Server: Apache2
  • PHP Version: 7.0.18

Error Messages
Error occurring on server, not site. See above for error messages.

  • Include any additional information you can find in storage/logs and your webserver's logs.

Additional context

  • Is this a fresh install or an upgrade?
    Upgrade from v to v4.7.4
  • What OS and web server you're running Snipe-IT on?
    Ubuntu, Apache2
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)?
    Git pull and the upgrade page
  • Include what you've done so far in the installation, and if you got any error messages along the way.
    Everything up until the database migration, no other error messages
  • Indicate whether or not you've manually edited any data directly in the database
    I have not manually edited any data.

Add any other context about the problem here.

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

@ThomasDE91
Copy link

Your PHP Version is below the required Version of at least 7.1.3. Check the following Bug. It has the solution for this issue:
#7114

@stale
Copy link

stale bot commented Aug 8, 2019

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 stale bot added the stale label Aug 8, 2019
@stale
Copy link

stale bot commented Aug 15, 2019

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 stale bot closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants