bjorntk
bjorntk
I have the same problem with importing device to users. For me it seems to only import to local users and not ldap users. Need some more testing to verify...
I have tested with several status types, and without a status. I have been testing this for some hours now with alot of imports. The importer.log file always says this,...
I found it! It selects the next user (ID) with no email adress set as the owner of the assets. I checked the database and the user that got the...
I only deleted the users as a test. Hoping there will be a fix for this. Or else I will have to enter fake mail adresses as a workaround.
It was already set to "first name last name", I just tried changing it. And also changing other mail settings with no luck. Version v3.5.1-2-gd7222ae Thanks for your effort trying...
This is from my settings: `email_format: firstname.lastname` `username_format: filastname` The error only happens if the user with no e-mail is imported with ldap, if the user is local it works...
Here is what I have found so far. `Asset Tag,Category,Model Name,Manufacturer,Username,Status` `PC111,Laptop,ThinkPad T450,LENOVO,hk13168,` insert into `assets` (`asset_tag`, `_snipeit_mac_address`, `_snipeit_imei`, `_snipeit_sim`, `_snipeit_nummer`, `purchase_cost`, `model_id`, `assigned_to`, `rtd_location_id`, `user_id`, `status_id`, `supplier_id`, `updated_at`, `created_at`)...
That is the one I'm using when I test now. Is there something missing there? I have tried many combinations, but ended up with this.
`Asset Tag,Category,Model Name,Manufacturer,Username,Status` `PC111,Laptop,ThinkPad T450,LENOVO,hk13168,` Username is there almost at the end. In this case the username is hk13168
Jey, thanks! That worked. I just used the info from: https://snipe-it-manual.readme.io/docs/importing-assets > Status - A status label applied to the item. Created if it doesn't exist. If you leave this...