Read the statement by Michael Teeuw here.
no login prompt for MMM-GooglePhotos
-
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?
-
@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
-
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!
-
@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.jsUsually 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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login