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

Upgraded to v5, Assets, Users, etcs don't show up.

Open namarie23 opened this issue 5 years ago • 7 comments

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

Describe the bug A clear and concise description of what the bug is. Upgraded from v 4.7.8 to 5.0.11 All data is not displaying except the asset count. LDAP sync looked like it worked but no users are visible and the test in admin settings fails. Tried Creating a test group, acted like it was created but nothing displays I tried all the below screenshotted commands, nothing helped.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image image image image image

Server (please complete the following information):

  • Snipe-IT Version 5.0.11
  • OS: [e.g. Ubuntu, CentOS] Windows Server 2016
  • Web Server: [e.g. Apache, IIS] IIS
  • PHP Version 7.3.12

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Error Messages

  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
  • If a stacktrace is provided in the error, include that too.
  • Any errors that appear in your browser's error console.
  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
  • Include any additional information you can find in storage/logs and your webserver's logs.
  • Include the output from php -m (this should display what modules you have enabled.)

Additional context

  • Is this a fresh install or an upgrade? Upgrade
  • What OS and web server you're running Snipe-IT on Windows 2016 Server IIS
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) Manual Upgrade
  • Include what you've done so far in the installation, and if you got any error messages along the way. Referenced any and all related tickets, nothing helped.
  • Indicate whether or not you've manually edited any data directly in the database No

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.

namarie23 avatar Dec 30 '20 22:12 namarie23

Please run php upgrade.php or follow the directions here: https://snipe-it.readme.io/docs/installation-issues#table-listing-pages-load-with-401-unauthorizedunauthenticated

Snipe-IT Documentation
Common installation/upgrading issues and solutions

snipe avatar Dec 30 '20 22:12 snipe

Please run php upgrade.php or follow the directions here: https://snipe-it.readme.io/docs/installation-issues#table-listing-pages-load-with-401-unauthorizedunauthenticated

Snipe-IT Documentation**Installation/Upgrading Issues**Common installation/upgrading issues and solutions

I've already done that and referenced that page, and it didn't work.

Snipe-IT Documentation
Common installation/upgrading issues and solutions

namarie23 avatar Dec 30 '20 22:12 namarie23

What was the output of php upgrade.php?

snipe avatar Dec 30 '20 22:12 snipe

(This is very nearly always a missing PHP extension. upgrade.php tries to help you figure out which one you're missing.)

snipe avatar Dec 30 '20 22:12 snipe

I have all of the extensions in the requirements listed, php upgrade.php removed items, and that was it. I ran it a second time and got "Nothing to upgrade or remove" message, I closed that CMD window so don't have the exact verbiage.

namarie23 avatar Dec 30 '20 22:12 namarie23

Please run it again and paste the output here.

snipe avatar Dec 30 '20 22:12 snipe

You know what, I just fixed it. I rolled back to before I upgraded and did the upgrade again, I think originally it was something wonky with my composer install. Went smooth this time no issues. I forgot to move my composer.exe into my snipe folder on the first go around and weirdness ensued. Second time was the charm.

namarie23 avatar Dec 30 '20 23:12 namarie23