I am using snappy and wkhtmltopdf to generate pdf. The project working fine in localhost. But when I am uploading the project on the live server (my hosting provider is namecheap and the hosting i am using is their "steller plus" package), i am getting following error:
The exit status code '127' says something went wrong: stderr: "sh: publicwkhtmltopdfbinwkhtmltopdf.exe: command not found " stdout: "".....
Here is my snappy config code what i am using:
'pdf' => [
'enabled' => true,
'binary' => 'public\wkhtmltopdf\bin\wkhtmltopdf.exe' ,
'options' => array(),
],
Now i have searched a while for a solution and found something like wkhtmltopdf need to be installed in the server, need to be using vps hosting etc. I am not an expert in working on cpanel and installing stuffs there. So my questions are:
How can I install wkhtmltopdf in the hosting I described?
In which location it will be installed and what changes will need to be done on the snappy config file?
Will going for a VPS hosting make this work anyway easy?
mwApis:
- # This is the only required parameter,
# the URL of you MediaWiki API endpoint.
uri: 'http://spgenerations.com/wiki/api.php'
On my linux box, I can curl this URL and receive the api data.
Regardless of using the apt-get installation or developer installation (ngm install) both instances give me this error:
{"name":"parsoid","hostname":"play.projecttidal.com.KVM","pid":12636,"level":30,"levelPath":"info/service-runner","msg":"master(12636) initializing 2 workers","time":"2019-03-12T03:55:47.504Z","v":0}
{"name":"parsoid","hostname":"play.projecttidal.com.KVM","pid":12645,"level":60,"moduleName":"lib/index.js","levelPath":"fatal/service-runner/worker","msg":"Unexpected token ...","time":"2019-03-12T03:55:47.917Z","v":0}
{"name":"parsoid","hostname":"play.projecttidal.com.KVM","pid":12636,"level":40,"message":"first worker died during startup, continue startup","worker_pid":12645,"exit_code":1,"startup_attempt":1,"levelPath":"warn/service-runner/master","msg":"first worker died during startup, continue startup","time":"2019-03-12T03:55:48.925Z","v":0}
For context, the hostname here is incorrect and the domain has been removed.
This is my parsoid config:
// Parsoid configuration
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'server.spgenerations.com',
'forwardCookies' => true
);
I have tried everything under the hidden voodoo sun to get this thing to work and I'm beyond frustrated. 4 hours spent tinkering with URL links to no avail, so please, if you know anything relating to this error, lend a hand.
Check what Node.JS version you are running with:
nodejs --version
If it is 4.x: That's too old for Parsoid. I had the same situation (Debian 9, still such an old Node.JS version in the repositories..). After upgrading to 10.x it ran fine for me.
I used the following guide (see Install using a PPA) to update to a newer Node.JS release: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-debian-9
I done all steps to install orocommerce on azure CentOS and nginx.
So now i got the following error after
$ ./bin/console oro:install --env=prod --timeout=900
"In ParameterBag.php line 102:
You have requested a non-existent parameter "web_backend_prefix".
Have anybody an idea?
How exactly did you get the source code (if GitHub - what repository, tag/branch, if download - what website and version)? Based on the error text it seems like it might be OroPlatform or OroCRM application, not OroCommerce.
Error showing while I am trying to deploy rails 5 application in AWS server.
Error Message: Could not find jsonapi-parser-0.1.1.beta2 in any of the sources
My local machine is ubuntu and it works perfectly.
Official gemfile page showing 'This version has been yanked, and it is not available for download directly or for other gems that may have depended on it.'
https://rubygems.org/gems/jsonapi/versions/0.1.1.beta5
Now how can I resolve this dependency!
Need to update jsonapi gem:
bundle update jsonapi
I'm trying to build a default MeeGo image with the following command, using the terminal in Fedora14 OS:
sudo mic-image-creator --config=default.ks --format=liveusb --cache=mycache
as explained here: http://wiki.meego.com/image_Creation#Creating_Supported_Image_Types
under: "Create Liveusb Image Interactively"
But I keep receiving an error: "kickstart config default.ks' does'not exist"
Do you have any idea how to solve this or what's causing it?
Thanks!
Hadass