cant upload file

ambako 2 years ago

Hello
traccar latest version
Settings->server->file
I upload file press save but file not uploadging
I again see Settings->server->file and file nothing
no more error in google dev tools
traccar server in digitalocean

Anton Tananaev 2 years ago

How large is the file? Are you sure it was not uploaded?

ambako 2 years ago

Hello

file size 18kb
I sure file not uploaded

Anton Tananaev 2 years ago

How did you check? Have you checked the API request?

ambako 2 years ago

I check from ubuntu
I see folder opt/traccar, not find my upload file

Anton Tananaev 2 years ago

I had two questions.

ambako 2 years ago

"API request" no or I not understand

Anton Tananaev 2 years ago

Check network tools in your browser to see if there's any network request when you try to upload.

ambako 2 years ago

there are no errors

Anton Tananaev 2 years ago

That's not what I asked.

ambako 2 years ago

when you click the save button there is a request to /api/server PUT 200 OK

ambako 2 years ago

i install traccar latest on windows same here

Anton Tananaev 2 years ago

Upload happens immediately, not when you click the button.

ambako 2 years ago

yes the file is downloaded immediately but when I click the save button and go back to Settings->server->file the downloaded file is not displayed

Anton Tananaev 2 years ago

That is expected. We don't show files there.