snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.84k stars 3.13k forks source link

Unable to create Location, Company or Asset Manufacturer #8959

Open benny2310 opened 3 years ago

benny2310 commented 3 years ago

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

Describe the bug When I log into the user interface and navigate to System on the left hand menu I try to then create a new Location, Company or Asset Manufacturer.

For example when the Location table loads, I then click on Create New and input the relevant information. Then I click Save and I receive the green confirmation window stating that it has been successful but the new entry is not listed in the table.

The data that was entered during the data input process of creating a new Location has been saved to the relevant table in the database.

To Reproduce Steps to reproduce the behavior:

  1. Go to System Menu
  2. Click on Location
  3. Then click on Create New
  4. Input relevant information
  5. Click Save
  6. Green success tile stating Location Created Successfuly
  7. New location does not show in the Location Table

Expected behavior Once a new Location, Company or Asset Manufacturer has been created it should show in the table.

Screenshots image

Server (please complete the following information):

Desktop (please complete the following information):

Smartphone (please complete the following information):

Error Messages

Additional context

Add any other context about the problem here: NA

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.

welcome[bot] commented 3 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

MandoYoda commented 3 years ago

I am having the same issues. Although when I create a company etc I can see it in the database, but the GUI wont show it

benny2310 commented 3 years ago

Hello,

This is the same problem that I am having.

It creates an entry in the database but the GUI Frontend does not show any records.

Has anyone found a fix for this??

Regards

snipe commented 3 years ago

This has been addressed several times in the documentation and in previous Github issues.

https://snipe-it.readme.io/docs/installation-issues#table-listing-pages-load-with-401-unauthorizedunauthenticated

Screen Shot 2021-01-13 at 2 05 37 PM
Snipe-IT Documentation
Installation/Upgrading Issues
Common installation/upgrading issues and solutions
CodyChell commented 3 years ago

@snipe I have just recently found I have this same issue. I've gone through the steps that you posted here, but it is still not working. I found on a previous server running 4.9.3 has the same issue as my fresh install, but restored data (from 4.9.3 instance) to 5.0.13-pre-build, but have the same issue in both places.

I had services.php and config.php in the 4.9.3 instance. Deleted both files, issue persists. I had just the services.php in the 5.0.13 pre instance and the issue persists there as well.

I check all my extensions and I believe that I have all the requirements. 4.9.3 instance is on ubuntu 18.04 and php 7.2 5.0.13-pre is on ubuntu 20.04 and php 7.4

I did restore from a vmware snapshot a few weeks ago. It might be an issue? Not sure. Got the idea that might've caused an issue because I'm seeing the same error on the old instance. Any ideas for some more troubleshooting steps?