partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Setting up the database schema - Invalid Response from the server Error #1213

Closed VasilyRakche closed 3 years ago

VasilyRakche commented 3 years ago

Bug description

While trying to setup partkeepr as explained PartKeepr 1.4.0 installation on a Raspberry Pi I got an error: image

Steps to reproduce

  1. Installation as explained here

System Information

Masterwolf2050 commented 3 years ago

If you click show error and then post what that says

VasilyRakche commented 3 years ago

No more details compared to what is initially shown near the red cross, the same message : "Invalid Response from the server"

christianlupus commented 3 years ago

Then you should open the browser console and have a look at the console output as well as the communication between server and browser.

VasilyRakche commented 3 years ago

Hey, so for some reason it worked when I tried today - I wanted to dump the data for you, the only thing different that I did was that I ssh to the server and I didnt quit from MySQL after sudo mysql -u root -p. Maybe that helped.

I will mark this question solved, can you please just let me know before that how I can "open the browser console and have a look at the console output as well as the communication between server and browser." so I know it for the future? - it will be useful if I have any problems in the future.

christianlupus commented 3 years ago

I will mark this question solved, can you please just let me know before that how I can "open the browser console and have a look at the console output as well as the communication between server and browser." so I know it for the future? - it will be useful if I have any problems in the future.

You did not specify the browser you are using. I think most browsers (Firefox and Chrome as far as I know at least) use the F12 key. Depending on your browser, OS and personal settings you get a window or a dock like the one below (sorry this one is in German but you get the idea). grafik There is a tab network analysis or network traffic. There you can see all the request/response pairs of the current window. You can look what data are sent and are received etc. (Only connections after opening the dev tools are logged). Here is an example of uploading the image above to github: grafik