randomBrainstormer / MMM-GoogleCalendar

Google Calendar for MagicMirror²
MIT License
73 stars 45 forks source link

Sign in to Google won't work #47

Open johnandamycal opened 1 year ago

johnandamycal commented 1 year ago

I have followed the instructions for installation of the module. However I am having an issue when authorising the module.

It won't work on the Pi and it tries to open a browser, but my Pi won't open it and it just errors.

I seen on the FAQ's that you can use VNC, I have followed all instructions online, but the VNC app just won't find my Pi.

At a bit of a loss, what should I do?

randomBrainstormer commented 8 months ago

Hi @johnandamycal,

I'm sorry to hear about the trouble you're experiencing. I've recently updated the module and its authorization libraries to address some of these issues. Please try updating the module first and then attempt the authorization process again.

Here are the steps to update the module and check for errors:

  1. Update the Module: Navigate to the MMM-GoogleCalendar module directory and pull the latest updates:
    cd ~/MagicMirror/modules/MMM-GoogleCalendar
    git pull
    1. Retry Authorization: After updating, try running the authorization script once more:
      node authorize.js
  2. Check Logs for Errors: If the Raspberry Pi still does not open the URL or if you encounter an error, please check the logs for any specific error messages. The logs can provide valuable insights into what might be going wrong:
    pm2 logs mm

    Look for any errors related to the MMM-GoogleCalendar module and share them if you need further assistance.

If you're still unable to connect via VNC and the authorization process doesn't proceed on the Pi, the logs should help us understand the exact issue. Don't hesitate to post any error messages you find; they can be crucial for diagnosing the problem.