Sitelet https://github.com/grokability/snipe-it/issues/6922
Skip to content

"All Assets" page is blank (No matching records found) #6922

Description

@cgaybba

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

Describe the bug
Snipe-IT is on a pinned tab in Chrome. I lost my tabs and had to re-open them. When I opened up Snipe-IT, the "All Assets" page is blank with a "No matching records found" error. When typing anything in the "Search" bar, the list of assets that contains that word comes up e.g. if I type in a person's name, all the assets under that person's name shows up. Deleting the search and the results stay the same.

I've cleared my browser's cookies, I've run the the following commands:

composer dump-autoload
composer clear-compiled
php artisan config:clear
php artisan view:clear
php artisan cache:clear
php artisan route:clear

I've searched the net and found 1 similar issue on Github but without any real explanation on how to fix this. I've enabled "debug mode" but don't see the debug screen nor the debug icon to expand the debug screen. I've done quite a few things without any success.

Under "Console" when Inspecting on Chrome I'm getting a 500 (Internal Server Error) for the following URL: https://sub.domain.com/public/api/v1/hardware?status=&order_number=&company_id=&status_id=&search=&sort=name&order=asc&offset=0&limit=20

Even clicking on "All Deployed" or "All Ready to Deploy" gives the same result = no results

When I click on "Dashboard" it shows the total amount of assets on the system.

dashboard

all-assets

To Reproduce
Steps to reproduce the behavior:

  1. Go to the domain it is installed under
  2. Login
  3. Click on List All under Assets
  4. "No matching records found"

Expected behavior
When I click on "All Assets" I normally could have seen all the assets that I've submitted. This includes deployed, ready to deployed assets.

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

Server (please complete the following information):

  • Snipe-IT Version : v4.6.15
  • OS: Debian GNU/Linux 8 (jessie)
  • Web Server: Apache
  • PHP Version: 5.6.40

Desktop (please complete the following information):

  • OS: macOS Mojave 10.14.3
  • Browser: Chrome
  • Version: 73.0.3683.103

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 : NO
  • Include any additional information you can find in storage/logs and your webserver's logs.
    laravel.txt

Additional context

  • Is this a fresh install or an upgrade?: Fresh install
  • What OS and web server you're running Snipe-IT on: GNU/Linux 8 (jessie) with Apache
  • What method you used to install Snipe-IT: terminal ssh get github...
  • Include what you've done so far in the installation, and if you got any error messages along the way: Installation went well, added assets without problems and now
  • Indicate whether or not you've manually edited any data directly in the database: No I haven't touched the database

Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions