share device

Has anyone managed to share a device? For me it just gives me an error. If anyone has managed to do it and can share how they did it, I would be grateful.

Anton Tananaeva year ago

Do you have SSL enabled?

Now I cleared the cache and it worked, how do I control the validity time of this sharing link?

Anton Tananaeva year ago

It's not possible to control it currently.

Track-tracea year ago

Actually it seems you can control the validity of the link/account. When the link is created a new user is created. That user account is valid for 7 days. But when you go to settings / users / the user account created for that link, and then click edit / permissions. Then you can change the expiration date for less or more days, or click the checkbox disabled. Or if needed just delete the account when you want to stop sharing the link.

Anton Tananaeva year ago

That's only if you have admin access. And if you do have an admin access, you could already create a "shared device" user without this feature.

gLeWa year ago

Excellent, working great.

Its a way to config for how many time creat the temp user??? i only like for the day.

Thanks

Anton Tananaeva year ago

Not yet, but it's a good feature request candidate.

gLeWa year ago

Thanks for the fast reply Anton

SJa year ago

I am also having problem sharing the devices as well, when i click on the device -> more (...) -> Share Device , I am getting the following error:

Unique index or primary key violation: "PUBLIC.CONSTRAINT_9_INDEX_1 ON PUBLIC.TC_USERS(EMAIL NULLS FIRST) VALUES ( /* 14 */ 'email@address.com:860121060014605' )"; SQL statement: INSERT INTO tc_users(map, login, totpKey, latitude, longitude, phone, disabled, expirationTime, readonly, deviceReadonly, zoom, twelveHourFormat, coordinateFormat, limitCommands, disableReports, fixedEmail, poiLayer, email, administrator, deviceLimit, userLimit, temporary, name, attributes) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23505-224] - JdbcSQLIntegrityConstraintViolationException (... < QueryBuilder:469 < DatabaseStorage:95 < DeviceResource:216 < ...)

May i know where can i get more logs for troubleshooting or anyone can tell me how to solve this problem?

Anton Tananaeva year ago

You need to wait for the next release. It will fix all these issues.

SJa year ago

Thanks so much for your input. Will be waiting for the next release. Tqvm

fedingasa year ago

As I understand, the service only works over SSL. Do you plan to transfer the link to the user in another way in the future, e.g. via popup or email?

Anton Tananaeva year ago

Yes, it's already implemented.

fedingasa year ago

I just want to clarify, if traccar is used without SSL, then it will be possible to use the current share device service without the current way with clipboard? I understood correctly?