MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    no login prompt for MMM-GooglePhotos

    Scheduled Pinned Locked Moved Entertainment
    4 Posts 4 Posters 463 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      Brtrnd 0
      last edited by

      Hi all
      I installed MMM-GooglePhotos as per the instructions on the github site.
      I should be getting a prompt to login in order to create a token.
      Sadly when I run the script to generate the token, nothing happens.

      I’m connected to the machine hosting the docker container using putty.
      When I run it, it just goes to a new blank line. Pressing ctrl-c immediately stops the executions and returns me to command prompt.
      I tried encapsulating the generate token javascript in a blank html page, but I get errors that functions are undefined.
      I also tried to run the command in the docker container itself; but that gives me the same issue.

      Any pointers on how to proceed?

      S M 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @Brtrnd 0
        last edited by

        @Brtrnd-0 I think you have to do it on the machine where the magic mirror software is running which means inside the docker container not outside the docker container. I don’t know if you can do it with docker

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • K Offline
          kevdog357
          last edited by

          I run my Magicmirror software on a headless Openmediavault server. I use Portainer to manage my docker containers. This is what I had to do to get Google photos working (not sure if it’s the best way, I know it worked for me):

          Run a new container for vnc-webclient, then open it.
          Installed Firefox and nodejs in that container.
          Open a shell in the vnc container, and run the generate_token_v2 command.
          Firefox should open so you can log in and have your token created.

          Good luck!

          1 Reply Last reply Reply Quote 0
          • M Offline
            MMRIZE @Brtrnd 0
            last edited by MMRIZE

            @Brtrnd-0
            AFAIK, Getting token script itself is executable on any environment, as far as it has node and browser. (and properly installed)

            node generate_token_v2.js
            

            Usually it should show some instructions to open a browser and navigate URL for OAUTH process. But if you get nothing(even error message) hmmm. Weird. Could you tell us more details or captures?

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy