Giter VIP home page Giter VIP logo

Comments (17)

merlinthemagic avatar merlinthemagic commented on May 18, 2024 1

Hi,

What operating system and architecture are you running?

from mts.

merlinthemagic avatar merlinthemagic commented on May 18, 2024 1

Hi,

Please post the output of $data1 and $data2 to this thread.
$data1 = php_uname();
$data2 = exec("cat /etc/os-release");

MM

from mts.

merlinthemagic avatar merlinthemagic commented on May 18, 2024 1

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.

merlinthemagic avatar merlinthemagic commented on May 18, 2024 1

@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.

garrablanka avatar garrablanka commented on May 18, 2024

hello merlinthemagic.
i have the same problem.. i use Centos 6.7 x86_64.
do you know how to fix it?
thanks!

from mts.

garrablanka avatar garrablanka commented on May 18, 2024

$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.

garrablanka avatar garrablanka commented on May 18, 2024

$data2= CentOS release 6.8 (Final)

from mts.

garrablanka avatar garrablanka commented on May 18, 2024

$exists is true.
/etc/os-release does not exist but i think you need /etc/centos-release --> CentOS release 6.8 (Final)

from mts.

merlinthemagic avatar merlinthemagic commented on May 18, 2024

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.

garrablanka avatar garrablanka commented on May 18, 2024

only this --> CentOS release 6.8 (Final)
it's an excellent project so I wait for that.
Thanks!

from mts.

garrablanka avatar garrablanka commented on May 18, 2024

can you please notify me when you do that??
thanks!!

from mts.

merlinthemagic avatar merlinthemagic commented on May 18, 2024

@garrablanka download the master branch and try again.

from mts.

garrablanka avatar garrablanka commented on May 18, 2024

@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.

merlinthemagic avatar merlinthemagic commented on May 18, 2024

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.

garrablanka avatar garrablanka commented on May 18, 2024

This project looks awesome. So i will give you some access. Give me your email.

from mts.

merlinthemagic avatar merlinthemagic commented on May 18, 2024

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.

garrablanka avatar garrablanka commented on May 18, 2024

thanks very much!!

from mts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.