GithubHelp home page GithubHelp logo

Comments (1)

jasehigh avatar jasehigh commented on April 29, 2024

I have made some progress with this.
I have added the following into my docker compose file to expose the gmail.json file to calibre-web

    volumes:
      - type: bind
        source: /Volumes/data/docker/appdata/calibre-web/gmail.json
        target: /app/calibre-web/gmail.json

From the console to my docker container I perform the following:

ps -C "python3 /app/calibre-web/cps.py" -o pid=

This returns the PID that I then use in this command:

kill <pid> && python3 /app/calibre-web/cps.py

I then go back to calibre-web, and then have to login as the default "admin" user, as my user profile/settings have been removed. I select a the folder that contains my calibre database, and then click on the "Setup gmail account as email server" option.

I copy the URL from the docker console, paste this into my browser, and grant google access.
Using the URL this gives me, I paste this into another docker console to my container:

curl "<URL>"

This returns the message "The authentication flow has completed. You may close this window.".

The calibre-web window also shows:

"Success! Gmail Account Verified."
"Email Server Settings updated"

I then stop the container and restart. This allows me to log back in as my user.
However, once logged back in, the email option is not set to gmail.

Any assistance is greatly appreciated.

from calibre-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.