snipe / snipe-it

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

Many problems with Installation on a Windows System and migration Data from Ubuntu #9252

Closed VoBo2021 closed 1 year ago

VoBo2021 commented 3 years ago

Hi,

i plan to get the Snipe-IT running on a windows server and later shut down the old ubuntu system. the Win 2019-Server is now up and running.

i followed the Instructions here: https://www.youtube.com/watch?v=AHNi9eU9icw to install the main-program and move (https://snipe-it.readme.io/docs/moving-snipe-it) the data from the old ubuntu-system.

The database is filled. I can see tables and values on it.

If i open the Browser (Edge/Firefox), i can see the Dashboard. I can see the last activities and charts.

My problems are:

This are open (05.03.21):

All my new Items are visible in the Database.

Server

Desktop-System:

I addes some files. i´m a normal user and can´t program. I hope sombody can help and it´s solveable :-) Thank you for all.

CU Volker

php.txt 2021-03-04 20_49_50-Assets_physical_path 2021-03-03 09_39_18-Assets_no_picture 2021-03-04 20_43_09-Asset with_path

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.

lalalostyou commented 3 years ago

Hi! I recently install snipe it in windows with the help of this video. https://www.youtube.com/watch?v=kxGGQutvktM

YouTube
Part 1 - SNIPE-IT Installation On Windows Server 2016
Step by step guide for SNIPE-IT installation on Windows Server 2016 with IIS, PHP and MySQL. SNIPE-IT is a great open source asset management system.Hit like...
VoBo2021 commented 3 years ago

Hi, thank you for this, but there are old versions of PHP and Database. this was my 1st try, but i need a system, who is up2date. i installed the newest Database 10.5, PHP7.4 and 7.3x and C++ redistributable. is there a confict with PHP or the Database?

VoBo2021 commented 3 years ago

Hi, i tried to modify an asset. im adding an additional picture of the item. the pic is stored correctly in the uploads-folder on the server. it seems, there is a problem to "show" the file. the error is: Failed to load image... snipe-it found files, but the format is not loading. what can we do? 2021-03-05 15_11_52-Assets_saved_pic

VoBo2021 commented 3 years ago

Hi again...

the problem with the pictures are solved. im adding the line APP_URL=http://your_host_name/ to the .env-file.

Other problems i had are fixed by php-upgrade.php at the DOS-Prompt:

...after upgrade do php artisan config:clear and restart IIS.

Open Issues are: the problems with the Accessories and 500-server-error persists. i´m adding a part in accessories, but i can´t generate/create reports. the parts are not listed in the overview "accessories", but in the database. you can see it in the dashboard-activity.

Dashboard-Activity: 2021-03-05 16_42_23-129 13 244 43 - new_accessorie-item

Error with Path: 2021-03-05 16_42_45-129 13 244 43 -error500

i hope it´s solveable... thank you.

snipe commented 3 years ago

If you're getting a 500 error, we need to see the error logs in order to see what's happening, as we mention in the issue template.

Your APP_URL should not have a trailing slash btw - per the documentation.

snipe commented 1 year ago

Hi there - We haven't heard back in a bit, so I'm going to close this ticket for now, but will re-open it if you're still having issues.

hackerman-hacking