vitalidze / traccar-web

Traccar Web UI mod
http://traccar.litvak.su/
151 stars 145 forks source link

Remote procedure call error #1122

Open WalrusHat opened 7 years ago

WalrusHat commented 7 years ago

I get this message when I try to login to my admin account... Other accounts are unaffected but my admin account is and I cant figure out why...

WalrusHat commented 7 years ago

I get this from the server logs:

INFO | jvm 1 | 2017/04/30 08:51:21 | com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List org.traccar.web.client.model.DataService.getDevices()' threw an unexpected exception: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not extract ResultSet

vitalidze commented 7 years ago

This means that most probably your database is corrupted. There should be more messages (lines) in the log file, which will show what exactly is corrupted.

WalrusHat commented 7 years ago

Is this what you're talking about?

INFO   | jvm 1    | 2017/04/30 10:36:41 | Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not extract ResultSet

INFO   | jvm 1    | 2017/04/30 10:36:41 | Caused by: org.hibernate.exception.GenericJDBCException: could not extract ResultSet

INFO   | jvm 1    | 2017/04/30 10:36:41 | Caused by: java.sql.SQLException: Error writing file '/tmp/MYMPiV4M' (Errcode: 28 - No space left on device)
vitalidze commented 7 years ago

Probably yes. This error means you have ran out of disk space.

WalrusHat commented 7 years ago

Got it, that definitely happened… if i clear uno the disk space will it start up again or will i have to reinitialize the devices?

On Apr 30, 2017, at 2:21 PM, Vitaly Litvak notifications@github.com wrote:

Probably yes. This error means you have ran out of disk space.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vitalidze/traccar-web/issues/1122#issuecomment-298258023, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-HZfQLyqts-IhcGx3dfI6UD7yFcC0Lks5r1PtsgaJpZM4NMmOR.

vitalidze commented 7 years ago

Just clean up disk space and restart services. There is no need to reinitialize devices.

WalrusHat commented 7 years ago
 df -h
Filesystem         Size  Used Avail Use% Mounted on
/dev/ploop20495p1  237G  228G     0 100% /
devtmpfs           512M     0  512M   0% /dev
tmpfs              512M     0  512M   0% /dev/shm
tmpfs              512M   53M  460M  11% /run
tmpfs              5.0M  4.0K  5.0M   1% /run/lock
tmpfs              512M     0  512M   0% /sys/fs/cgroup
none               512M     0  512M   0% /run/shm

Hey Vitally, I'm looking into the server and I see what is full but i cant access it. What is this filesystem:

# /dev/ploop20495p1

thanks

vitalidze commented 7 years ago

I have no idea what could it be. You should ask your system administrator same question.