Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.
This topic has 11 replies, 2 voices, and was last updated 3 years, 11 months ago by Szabi – CodeRevolution.
-
AuthorPosts
-
-
January 18, 2021 at 9:24 pm #2550
I am running on plesk. Seems to use plesk for node.js your have to create subdomains or full domains that are standalone and can not run wordpress.
So I have two possible configurations:
1.
example.com – wordpress
hba.example.com – running node.js puppeteer
Currently I believe the current puppeteer 5.5 won’t run using the plesk extensions that are using node 12.6 and npm 1.6 are failing to create a working example
2.
The other is to install node.js and puppeteer behind plesk directly on my centos 7 server.
I have installed to a directory using steps like this article https://frugalisminds.com/how-to-setup-puppeteer-in-centos-7/
The test script works
What do you need for the plugin to use peppeteer on my server?
thank you
-
January 18, 2021 at 9:26 pm #2551
I purchase url to rss around 12/1/2020
-
January 18, 2021 at 9:41 pm #2552
Hello,
I can offer this tutorial video showing how to install Puppeteer on Linux: https://www.youtube.com/watch?v=XkVfYWRZpko
I hope this helps. if not, let me know.
Regards,
Szabi – CodeRevolution.
-
January 19, 2021 at 1:56 pm #2553
This reply has been marked as private. -
January 19, 2021 at 2:17 pm #2554
This reply has been marked as private. -
January 19, 2021 at 2:40 pm #2555
Hello,
Please check this tutorial for CentOS 7: https://frugalisminds.com/how-to-setup-puppeteer-in-centos-7/
Yes, after I finished the video, puppeteer is installed and available on the server. However, if you don’t install puppeteer globally, using the -g flag in the install command
npm install -g puppeteer
than, it will be available only in the folder where you install it. So, if you don’t want to install it globally, you will have to place it in the folder where you wish to use it (in the case of the Crawlomatic plugin, in the \wp-content\plugins\crawlomatic-multipage-scraper-post-generator\res\puppeteer folder.
Regarding Plesk, I am not an expert in it, I can recommend this tutorial with info on installing nodejs on it: https://www.plesk.com/blog/product-technology/node-js-plesk-onyx/
If you don’t manage to install it, I can recommend migrating your site to a server where Linux bash will be available (Google Cloud Hosting or DigitalOcean droplets).
I hope this info helped.
Regards.
-
January 19, 2021 at 9:07 pm #2560
Ok thank you. The plesk stuff seems to be oriented around the node express server and not a node library, like puppeteer.
So I have done npm install -g puppeteer
~#npm -g list
/usr/lib
├── n@7.0.0
├── npm@7.4.0
└── puppeteer@5.5.0So when I install your rss to url plugin it will immediately be able to use puppeteer without doing anything else?
thank you
-
January 20, 2021 at 6:54 am #2561
Hello,
Yes, if there are no server side or WordPress side restrictions, than puppeteer should be available instantly also on your WordPress site.
You can use the WPTerm plugin on your WordPress site to check if it is available: https://wordpress.org/plugins/wpterm/ – it will emulate a terminal inside of WordPress, where you can test it.
Regards.
-
January 20, 2021 at 6:23 pm #2565
Thank you for the notes.
After npm -g install puppeteer, seems it did not complete something but I don’t know what that is.
If I try to run one of the puppeteer examples/screenshot.js from the examples dir it fails in both
wpterm and linux term thro same error
$ node screenshot.js
node:internal/modules/cjs/loader:928
throw err;
^Error: Cannot find module ‘puppeteer’
-
January 20, 2021 at 6:28 pm #2566
Hosting provider’s support might be needed to be asked for help on this, they might require some settings from their part to make puppeteer available for you site.
-
January 20, 2021 at 11:30 pm #2567
This is a dedicated server. I control it. No support. That is why i use plesk.
What does not make any sense is that i have installed and removed other packages on the server and have not had any problems. Those apps ran listening on ports. Ie voip etc.
Looking over a dozen sites explaining npm simple install i see others having issues with puppeteer recent version.
What are you running?
-
January 21, 2021 at 8:24 am #2570
I am running puppeteer 6.14.6 on my local testing environment.
But on other servers I installed also latest puppeteer versions available and for me, they worked.
If possible, please send me temporary admin login credentials to your site + access to your server console and I will try to make puppeteer work for you. My email is kisded@yahoo.com
However, I cannot promise I will manage to make it work, I am not a Linux/Plesk expert, but I can try.
Regards.
-
-
AuthorPosts
The topic ‘puppeteer setup needed to run plugin’ is closed to new replies.