Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Google Drive doesn't mount after authorization #2135

Open
interkelstar opened this issue Jan 16, 2025 · 1 comment
Open

[Bug] Google Drive doesn't mount after authorization #2135

interkelstar opened this issue Jan 16, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@interkelstar
Copy link

interkelstar commented Jan 16, 2025

Describe the bug

Google Drive doesn't mount

To Reproduce

  1. Go to Files
  2. Add Google Drive
  3. Authorize
  4. Nothing is added

Logs

16T16:22:33.740+0100	error	check and mount by name error: 	{"error": "mount failed", "name": "***@gmail.com", "func": "v1.GetRecoverStorage", "file": "/home/runner/work/CasaOS/CasaOS/route/v1/recover.go", "line": 71}
16T16:24:09.997+0100	error	Then code is empty: 	{"code": "", "name": "google_drive", "func": "v1.GetRecoverStorage", "file": "/home/runner/work/CasaOS/CasaOS/route/v1/recover.go", "line": 31}
16T16:24:32.893+0100	info	get refresh token	{"res": "{\n  \"access_token\": \"***\",\n  \"expires_in\": 3599,\n  \"refresh_token\": \"***\",\n  \"scope\": \"https://www.googleapis.com/auth/drive\",\n  \"token_type\": \"Bearer\"\n}", "func": "google_drive.(*GoogleDrive).getRefreshToken", "file": "/home/runner/work/CasaOS/CasaOS/drivers/google_drive/util.go", "line": 41}
16T16:24:33.263+0100	info	resp	{"resp": "***", "func": "google_drive.(*GoogleDrive).GetUserInfo", "file": "/home/runner/work/CasaOS/CasaOS/drivers/google_drive/drive.go", "line": 79}
16T16:24:38.577+0100	error	check and mount by name error: 	{"error": "mount failed", "name": "***@gmail.com", "func": "v1.GetRecoverStorage", "file": "/home/runner/work/CasaOS/CasaOS/route/v1/recover.go", "line": 71}
@interkelstar interkelstar added the bug Something isn't working label Jan 16, 2025
@smithbill17
Copy link

I get this same issue trying to connect OneDrive:

onedrive.(*Onedrive).getRefreshToken", "file": "/home/runner/work/CasaOS/CasaOS/drivers/onedrive/util.go", "line": 84}
03T04:59:58.864Z error check and mount by name error: {"error": "mount failed", "name": "[email protected]", "func": "v1.GetRecoverStorage", "file": "/home/runner/work/CasaOS/CasaOS/route/v1/recover.go", "line": 216}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants