-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubunto 20.4 Error Emoncms install script : line 52 command not found #179
Comments
Hello, |
Hi @buchse12 , Please try sending problems like this to the community linked below as people look there regularly: Did you make any changes to the If it is set, then earlier in the install output you should see a section similar to the following:
My presumption is that there has been a problem installing php in this step. Have you run the install as root? If so, then I'd suggest creating a user to run this under that instead. Have you seen the docs here? |
I get the exact same issue. installing on ubuntu 20.04 server on azure.
I speculatively did
|
Hi @sandyman44 Out of curiosity, is there a reason why you're not using 22.04? This looks to be a symptom rather than the cause, you'll need to check through the earlier stages of the output to confirm what's happening. On the presumption that your
|
why not 22.04 - I just went to azure marketplace and selected the latest version of ubuntu that popped up when I went to create a vm - which was 20.04. I've stopped caring about different versions of linux any more its too timeconsuming/tedious for someone who is a "user" rather than a "dev". Having gone back into azure marketplace, it seems 22 is there but doesn't pop up by default you have to search for it. eventually I figured out for myself that the emoncms was expecting PHP8.1, which is not the version that was getting installed when I tried to install php from that earlier version of ubuntu. I got the same behaviour with debian 11 (Again, the default in azure). I suspect this is what @buchse12 was hitting as well. either no php, or wrong version of php, either way, not working. anyway I followed instructions that I found elsewhere on the internet, to connect an extra repository and install PHP8.1, after doing that, the emoncms install worked fine from debian 11. I haven't been back to try it with ubuntu 22 as I now have a working system. I'd suggest that the emoncms scripts and install documention could do with pointers or notes about specific versions of ubuntu / debian and specific versions of php for the unwary such as me! |
I think this has now been solved by changes to the script. |
Hello,
I've been trying to fix the problem for many hours without success.
Proxmox LXC container created with Ubunto 20.4 and the Emoncms instructions all executed and accordingly adjusted the config.ini.
The installation does not go through and gives the following error:
`Cloning into 'usefulscripts'...
remote: Enumerating objects: 1034, done.
remote: Counting objects: 100% (136/136), done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 1034 (delta 60), reused 124 (delta 57), pack-reused 898
Receiving objects: 100% (1034/1034), 284.07 KiB | 4.30 MiB/s, done.
Resolving deltas: 100% (522/522), done.
Update Emoncms database
/opt/openenergymonitor/EmonScripts/install/emoncms_modules.sh: line 52: php: com mand not found
root@emoncms:/opt/openenergymonitor/EmonScripts/install#
can someone help me? I am in despair here.
`
The text was updated successfully, but these errors were encountered: