-
Notifications
You must be signed in to change notification settings - Fork 15
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
Syncing with gdrive #10
Comments
Should be resolved now. Let me know if not. While attempting to speed things up, I mistakenly introduced an error in the sequence of things (as it relates to the initial creation of the file on Gdrive), I never noticed, as I failed to go back and test with the file not already there (ConsolePi.csv). I'll keep this open for a bit - let me know if |
It works now, thanks alot 👍 |
You can use the same credentials.json and token.pickle file for all the Pis, they can use the same creds. |
Okei, thats what i tought. |
Yes. Assuming you've configured OpenVPN. Also run consolepi-upgrade after
populating the OpenVPN ovpn file, it will place a couple of lines at the
end of the config (to trigger cloud sync after VPN connection) Each
ConsolePi will then update gdrive once VPN is established. You should see
the new entry in the spreadsheet on gdrive (ConsolePi.csv) with the TUN
interface IP, as long as they can reach each other (i.e. ping) the remote
side will show in the menu. May have to (r)efresh in the menu on the 1st
Pi to connect if accessing the menu from that one.
…On Wed, Sep 18, 2019, 4:26 AM nintox ***@***.***> wrote:
Okei, thats what i tought.
I need them to find each other over the "openvpn" network, should they do
it? Or do i have to specify that in one config file?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=ABTGZITQB4SMYZQYXGNWE7DQKHQZXA5CNFSM4IXBOQA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67H74Q#issuecomment-532578290>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABTGZISRQ34KJX2VM3TJRFDQKHQZXANCNFSM4IXBOQAQ>
.
|
Hello, i am not sure if i should post my issue here or another place?
I am having trouble to sync to gdrive, i have followed your instructions but i am getting this error.
After i have made the file credentials.json i start the guide and end up with tocken.pickle
When i run the consolepi-menu and hit "r" for refresh i get this error.
What is wrong?
Detecting Locally Attached Serial Adapters
[GET ADAPTERS] Detecting Locally Attached Serial Adapters
Updating to/from gdrive
No files found.
Traceback (most recent call last):
File "/etc/ConsolePi/src/consolepi-menu.py", line 721, in
menu.main_menu()
File "/etc/ConsolePi/src/consolepi-menu.py", line 420, in main_menu
self.exec_menu(choice)
File "/etc/ConsolePi/src/consolepi-menu.py", line 527, in exec_menu
menu_actionsch
File "/etc/ConsolePi/src/consolepi-menu.py", line 151, in refresh
remote_consoles = self.cloud.update_files(self.data['local'])
File "/etc/ConsolePi/venv/lib/python3.7/site-packages/consolepi/gdrive.py", line 120, in update_files
self.auth()
File "/etc/ConsolePi/venv/lib/python3.7/site-packages/consolepi/gdrive.py", line 36, in auth
self.file_id = self.create_sheet()
File "/etc/ConsolePi/venv/lib/python3.7/site-packages/consolepi/gdrive.py", line 101, in create_sheet
spreadsheet = service.spreadsheets().create(body=spreadsheet,
AttributeError: 'NoneType' object has no attribute 'spreadsheets'
The text was updated successfully, but these errors were encountered: