DriveBackupV2

DriveBackupV2

46.6k Downloads

failed to invoke google api

0withoutface0 opened this issue · 2 comments

commented

Describe the bug

hello! today the bukkit plugin just stopped working
thanks for help
here is the log

>drivebackup backup
[19:06:09] [Server thread/INFO]: [DriveBackupV2] Forcing a backup
[19:06:09] [Thread-11382/WARN]: java.lang.NullPointerException: Cannot invoke "com.google.api.services.drive.Drive.drives()" because "this.service" is null
[19:06:09] [Thread-11382/WARN]:         at ratismal.drivebackup.uploaders.googledrive.GoogleDriveUploader.<init>(GoogleDriveUploader.java:84)
[19:06:09] [Thread-11382/WARN]:         at ratismal.drivebackup.UploadThread.run(UploadThread.java:199)
[19:06:09] [Thread-11382/WARN]:         at java.base/java.lang.Thread.run(Thread.java:833)
[19:06:09] [Thread-11382/INFO]: [DriveBackupV2] Skipping backup to Google Drive, account not yet linked
[19:06:09] [Thread-11382/INFO]: To link your account, run /drivebackup linkaccount googledrive
[19:06:09] [Thread-11382/INFO]: [DriveBackupV2] Creating backups, the server may lag for a little while...
[19:06:10] [Thread-11382/INFO]: [DriveBackupV2] Doing backups for ".\world"
[19:08:28] [Thread-11382/INFO]: [DriveBackupV2] There are 4 file(s) which exceeds the local limit of 3, deleting oldest
[19:08:28] [Thread-11382/INFO]: [DriveBackupV2] Doing backups for ".\world_nether"
[19:08:42] [Thread-11382/INFO]: [DriveBackupV2] There are 4 file(s) which exceeds the local limit of 3, deleting oldest
[19:08:42] [Thread-11382/INFO]: [DriveBackupV2] Doing backups for ".\world_the_end"
[19:08:50] [Thread-11382/INFO]: [DriveBackupV2] There are 4 file(s) which exceeds the local limit of 3, deleting oldest
[19:08:50] [Thread-11382/INFO]: [DriveBackupV2] Doing backups for "plugins"
[19:08:53] [Thread-11382/INFO]: [DriveBackupV2] There are 4 file(s) which exceeds the local limit of 3, deleting oldest
[19:08:53] [Thread-11382/INFO]: [DriveBackupV2] Backup complete

To Reproduce

start the plugin :D

Screenshots / Videos

No response

Server and Plugin Versions

DriveBackupV2 v1.6.0
CraftBukkit version 3467-Bukkit-e6cc7c7 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)

Additional Context

No response

commented

Ok so i did a little fixing and i figured out that the plugin deleted his own folder. I reinstalled it and now its working, but this is still a bug so i will not close this issue.

commented

The plugin is not able to delete it’s own folder, so I’ll close the issue for now. If it reoccurs, please open a new issue in order to identify the root cause