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

UsersImporter Class Not Found

Open ghost opened this issue 6 years ago • 5 comments

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

Describe the bug When I try to import a csv for users through the CLI I get an error saying " Class 'App\Importer\UsersImporter is not found" I checked and it is there with the same permissions as the rest of the importers.

To Reproduce Steps to reproduce the behavior:

  1. SSH into the server and run the following command in the snipeit directory.
  2. php artisan snipeit:import --item-type Users \Path\to\csv

Expected behavior I expected that the importer would import my users out of the CSV

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

Server (please complete the following information):

  • Snipe-IT Version 4.8.0
  • OS: Ubuntu
  • Web Server: Apache
  • PHP Version 7.3

Additional context This is a fresh copy of snipe it we are using to test to decided if we want to move to it. I installed via the script. I have it running on Ubuntu on a VM. Haven't had issues with any of the other uploaders. I have tried upgrading to the newest branch, but that didn't solve the issue.

ghost avatar Mar 18 '20 17:03 ghost

--item-type=User

mnemonicly avatar Mar 18 '20 20:03 mnemonicly

I seem to be getting the same error as before. Still can't find that class. image

ghost avatar Mar 18 '20 21:03 ghost

You're getting a different error when you run the first. It looks like database issues?

mnemonicly avatar Mar 18 '20 21:03 mnemonicly

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 17 '20 21: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 25 '20 04:05 stale[bot]