Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Fix the Docker support #145

@thegreenmilecornant

Description

@thegreenmilecornant

To Reproduce
I have cloned the repository, changed the docker-compose.yaml with my username and password and run the command docker-compose --profile instauto up -d.

I then check the logs in Portainer and see this log;

No followed database found
No unfollowed database found
No likes database found
2023-05-03T07:36:25.749Z No cookies found
2023-05-03T07:36:25.749Z Setting language to English (en)
2023-05-03T07:36:25.750Z Waiting 1.29 sec
2023-05-03T07:36:57.244Z Failed to set language, trying fallback (cookie) TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
    at /app/instauto/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
  -- ASYNC --
    at Frame.<anonymous> (/app/instauto/node_modules/puppeteer/lib/helper.js:111:15)
    at Page.goto (/app/instauto/node_modules/puppeteer/lib/Page.js:674:49)
    at Page.<anonymous> (/app/instauto/node_modules/puppeteer/lib/helper.js:112:23)
    at gotoUrl (/app/instauto/src/index.js:186:39)
    at goHome (/app/instauto/src/index.js:919:30)
    at setLang (/app/instauto/src/index.js:933:15)
    at async Instauto (/app/instauto/src/index.js:1009:3)
    at async /app/instauto/example.js:103:22
TimeoutError: Navigation Timeout Exceeded: 30000ms exceeded
    at /app/instauto/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
  -- ASYNC --
    at Frame.<anonymous> (/app/instauto/node_modules/puppeteer/lib/helper.js:111:15)
    at Page.goto (/app/instauto/node_modules/puppeteer/lib/Page.js:674:49)
    at Page.<anonymous> (/app/instauto/node_modules/puppeteer/lib/helper.js:112:23)
    at gotoUrl (/app/instauto/src/index.js:186:39)
Closing browser
    at goHome (/app/instauto/src/index.js:919:30)
    at setLang (/app/instauto/src/index.js:967:13)
    at async Instauto (/app/instauto/src/index.js:1009:3)
    at async /app/instauto/example.js:103:22

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Host OS is Ubuntu. Container running in Docker.
  • Browser: X
  • Version: X

Additional context
This is related to the ground work made by @maxxxdj in PR #141 . Feels as if we're close to getting there and having a working image. Would you please look at this again @maxxxdj ?

Also, the timezone is off. Can we add that as an env variable?

Provide me with HTML

Did you receive an error while the bot is running?

To make it easier for me to understand why it's failing, please copy and share with me the HTML of the button (or even better the whole page) and share it, by following these instructions:

  • Make sure you run the command after getting the error message
  • make sure that you open the dev tools on the correct window (the instagram page)

Use Option + + J (on macOS), or Shift + CTRL + J (on Windows/Linux) to open devtools.

Using the Web Inspector (F12), go to the Elements tab, right click on the tag in your code and select Copy->Copy outerHTML. Then paste that here

If you feel it's private information you can instead email to simpleinstabot@yankee.no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions