ReticentRobot / SnipeAgent

Windows Agent for Snipe-IT Open Source Asset Management
Apache License 2.0
26 stars 6 forks source link

Runs with no errors but not updated in SNIPEIT #8

Open dwildey opened 2 years ago

dwildey commented 2 years ago

When I check dashboard, or asset, it is not updated. However, when I look at output, there are not errors:

HTTP 200: Connection to Snipe-IT instance succeded. Attempting to create type: SnipeSharp.Endpoints.Models.Manufacturer Instance name: **** Already exists in DB Attempting to create type: SnipeSharp.Endpoints.Models.Category Instance name: Desktop Already exists in DB Attempting to create type: SnipeSharp.Endpoints.Models.Model Instance name: ** Already exists in DB Attempting to create type: SnipeSharp.Endpoints.Models.Company Instance name: **** Already exists in DB Attempting to create type: SnipeSharp.Endpoints.Models.StatusLabel Instance name: in production Already exists in DB Attempting to create type: SnipeSharp.Endpoints.Models.Location Instance name: ** Already exists in DB Asset already exists in db. Checking for consistency. Changes in asset detected. Updating: Total program execution time 1334ms. 3/31/2022 12:05:31 PM: Exiting application.

dwildey commented 2 years ago

Currently on Version v5.3.10 - build 6684

itchefk0ch commented 2 weeks ago

i have the exact same problem with version v7.0.11 build 15044 (g46ed07642). Clean fresh install. No Asset will be added.

JROG93 commented 4 days ago

Also having this issue on the hosted version - Version v7.0.11 - build 15044#

I get the below but no new asset gets added

Asset does not exist in database, creating... Attempting to create type: SnipeSharp.Endpoints.Models.Asset Instance name: JR-XXXXXXXX Total program execution time 6641ms. 09/09/2024 09:30:21: Exiting application.

tothk-semecs commented 3 days ago

@dwildey @itchefk0ch @JROG93 Hi Guys, i have same error as you do you find any solution for that

Thanks in advice