Comments (17)
Hi,
What operating system and architecture are you running?
from mts.
Hi,
Please post the output of $data1 and $data2 to this thread.
$data1 = php_uname();
$data2 = exec("cat /etc/os-release");
MM
from mts.
That was quick ;)
The problem is that we are not getting file return for some reason.
Please test:
$exists = function_exists("exec"); // true or false?
exec("cat /etc/os-release", $data2, $statusArr); // content of $statusArr
Last, does the /etc/os-release file exist?
from mts.
@garrablanka Just realized I did not clean up after myself. There is a MtsSetup.php in your root HTML folder. Make sure to get rid of it (I would purge the server completely and spin up another instance. Afterall you don't know me ;))
I also gathered you are using composer,if you download again you need to accept dev packages and specify the master branch (not a release), or just downloa a zip from github.
from mts.
hello merlinthemagic.
i have the same problem.. i use Centos 6.7 x86_64.
do you know how to fix it?
thanks!
from mts.
$data1= Linux st.mitrato.cl 2.6.32-642.11.1.el6.x86_64 #1 SMP Fri Nov 18 19:25:05 UTC 2016 x86_64
$data2= (empty)
from mts.
$data2= CentOS release 6.8 (Final)
from mts.
$exists is true.
/etc/os-release does not exist but i think you need /etc/centos-release --> CentOS release 6.8 (Final)
from mts.
Could you post the entire output of /etc/centos-release.
I will update the OS object to check for that file as well and push a commit tonight.
from mts.
only this --> CentOS release 6.8 (Final)
it's an excellent project so I wait for that.
Thanks!
from mts.
can you please notify me when you do that??
thanks!!
from mts.
@garrablanka download the master branch and try again.
from mts.
@merlinthemagic
i downloaded again but i had the same error:
Fatal error: Uncaught exception 'Exception' with message 'MTS\Common\Devices\Actions\Local\Host\OperatingSystem::execute>> Not Handled for Request Type: getOsObj' in /home/lompros/public_html/merlinthemagic/mts/MTS/Common/Devices/Actions/Local/Host/OperatingSystem.php:149 Stack trace: #0 /home/lompros/public_html/merlinthemagic/mts/MTS/Common/Devices/Actions/Local/Host/OperatingSystem.php(11): MTS\Common\Devices\Actions\Local\Host\OperatingSystem->execute() #1 /home/lompros/public_html/merlinthemagic/mts/MTS/EnableMTS.php(39): MTS\Common\Devices\Actions\Local\Host\OperatingSystem->getOsObj() #2 /home/lompros/public_html/merlinthemagic/mts/MTS/EnableMTS.php(34): mtsEnvironmentalSetup() #3 /home/lompros/public_html/MtsSetup.php(80): require_once('/home/lompros/p...') #4 {main} thrown in /home/lompros/public_html/merlinthemagic/mts/MTS/Common/Devices/Actions/Local/Host/OperatingSystem.php on line 149
:(
from mts.
Odd.
I would want access to the system to check myself, but that gets complicated. I commited a more verbose version of the OS obj class. Either download the master branch again or just download and override this file:
https://github.com/merlinthemagic/MTS/blob/master/MTS/Common/Devices/Actions/Local/Host/OperatingSystem.php
Are you on IRC somewhere?
from mts.
This project looks awesome. So i will give you some access. Give me your email.
from mts.
Hi,
The install in '/home/lompros/public_html/merlinthemagic/mts' had not been updated to the latest master. But there was other issues as well.
Thank you for the access. I updated MTS and completed the setup, you are good to go!
MM
from mts.
thanks very much!!
from mts.
Related Issues (20)
- Could not determine OS distribution HOT 2
- How to install MTS manually without PHP automation install (MtsSetup.php) ? HOT 7
- Why getElement() show different result? HOT 2
- Regarding Two way verification issue. HOT 5
- error excecuting command HOT 3
- License HOT 4
- Call to a member function getPathAsString() on boolean HOT 6
- Bash::shellStrExecute>> Read data timeout HOT 2
- Don't enforce connection via username:password HOT 8
- Fatal error HOT 12
- How to enable the web driver? HOT 1
- Error when connecting... HOT 4
- Arm board. CentOs on raspberry 2 HOT 1
- Remote powershell doesn't return any data HOT 1
- Class 'MTS\Factories' not found HOT 1
- Execute Script Over SSH via a Jumpbox HOT 15
- Fatal error: Uncaught Exception Could not determine OS version HOT 4
- Powershell not available on localHost HOT 8
- Read registry values from remote PC with credentials (username,password) HOT 1
- Error Not Handled for Request Type: connectByUsername HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mts.