Author Topic: Mini installation  (Read 39305 times)

LA

  • Regular Poster
  • **
  • Posts: 26
    • View Profile
Mini installation
« on: July 12, 2010, 09:58:48 pm »
Dear all,
can somebody please help me to install mini version of LinuxMCE?
There is installer folder. But looks like I need to copy some files to some folders first and then import mysql tables.
It is also not quite clear which version of mysql (4, 5.0 or 5.1) is required.

Trying to run it on Ubuntu 9.


PS. Here is description of what I've already tried.
« Last Edit: July 12, 2010, 10:00:19 pm by LA »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Mini installation
« Reply #1 on: July 12, 2010, 10:00:19 pm »
you need to copy your all binaries to /usr/pluto/bin. I've tested it with mysql 4 and 5.

best regards
Hari
rock your home - http://www.agocontrol.com home automation

LA

  • Regular Poster
  • **
  • Posts: 26
    • View Profile
Re: Mini installation
« Reply #2 on: July 13, 2010, 07:34:56 am »
thanks, Hari!

what is about installation steps?
should it be enough just to run mini_install.sh? where this file should be placed?

LA

  • Regular Poster
  • **
  • Posts: 26
    • View Profile
Re: Mini installation
« Reply #3 on: July 14, 2010, 06:51:53 pm »
Hari,
I've copied files to /usr/pluto/bin and run DCERouter:
Code: [Select]
user@ubuntu910desktop:/usr/pluto/bin$ ./DCERouter
touch: cannot touch `/usr/pluto/var/DCERouter.running': No such file or directory
Copyright (C) 2004 Pluto, Inc., a Florida Corporation
www.plutohome.com
Phone: +1 (877) 758-8648
This program is distributed according to the terms of the GNU Public License, available at:
http://www.fsf.org/licensing/licenses/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Public License for more details.
---------------

Cannot perform query: [select `Device`.* from Device where FK_DeviceTemplate=1 AND FK_Device_ControlledVia=1] Failed to get error message
05 07/14/10 12:48:04.368 Resetting db_wrapper connection <0xb77438e0>
01 07/14/10 12:48:14.520 Table_Device::GetRows Cannot perform query [select `Device`.* from Device where FK_DeviceTemplate=1 AND FK_Device_ControlledVia=1] Failed to get error message reconnect: 1 result2: -1 <0xb77438e0>
Cannot perform query: [select `Device`.* from Device where FK_Installation=1 AND FK_DeviceTemplate=1] Failed to get error message
05 07/14/10 12:48:14.521 Resetting db_wrapper connection <0xb77438e0>
01 07/14/10 12:48:24.681 Table_Device::GetRows Cannot perform query [select `Device`.* from Device where FK_Installation=1 AND FK_DeviceTemplate=1] Failed to get error message reconnect: 1 result2: -1 <0xb77438e0>
Cannot perform query: [select `Device`.* from Device where FK_DeviceTemplate=1] Failed to get error message
05 07/14/10 12:48:24.682 Resetting db_wrapper connection <0xb77438e0>
01 07/14/10 12:48:34.910 Table_Device::GetRows Cannot perform query [select `Device`.* from Device where FK_DeviceTemplate=1] Failed to get error message reconnect: 1 result2: -1 <0xb77438e0>
01 07/14/10 12:48:34.911 Cannot determine my device ID automatically.  # of records in DB: 0 <0xb77438e0>
Sorry...   I cannot figure out what my device ID is automatically.  To do this there must be only
1 record in the database for a device with the device template type of 1 (DCE Router) in installation 1.  There are 0
You will need to specify the device id on the command line.

does it mean that it works correctly?
web interface is still not available...


and, if I run mini_install, still get the same error (even when files are already in usr/pluto/bin):
Code: [Select]
root@ubuntu910desktop:/tmp/harimini/installer# ./mini-install.sh
Setting up your computer to act as a 'Core'
05 07/14/10 14:55:03.068 Called with: -d 7  <0xb77cc6d0>
01 07/14/10 14:55:03.190 Query failed (You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND FK_DeviceTemplate=1' at line 1): SELECT PK_DeviceTemplate_DeviceCategory_ControlledVia FROM DeviceTemplate_DeviceCategory_ControlledVia WHERE FK_DeviceCategory IN () AND FK_DeviceTemplate=1 (1) <0xb77cc6d0>

Could you please publish detailed instruction how the application should be installed on Ubuntu 9 or 10?
« Last Edit: July 14, 2010, 08:57:09 pm by LA »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Mini installation
« Reply #4 on: July 15, 2010, 11:07:26 am »
Hi LA,

I'm working on detailed instructions right now. I seem to have a problem with the Makefiles. The error you are seeing relates to the db_wrapper. I'm just trying to build on fedora 12 and will create a wiki page with all required steps soon.

br Hari
rock your home - http://www.agocontrol.com home automation

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Mini installation
« Reply #5 on: September 23, 2010, 01:26:09 pm »
Hi LA,

I'm working on detailed instructions right now. I seem to have a problem with the Makefiles. The error you are seeing relates to the db_wrapper. I'm just trying to build on fedora 12 and will create a wiki page with all required steps soon.

br Hari
Hi,

I'm interested in Mini version of LinuxMCE... I'd kindly ask (I know you're probably busy) if you can provide at least very brief install instructions...

Also, how difficult would be to build this mini installation on Ubuntu ?

Update: Just saw your announcement of Fedora13 packages... That answers my questions. Will ask on that thread further...

Thanks in advance,

regards,

Bulek.
« Last Edit: September 23, 2010, 01:28:57 pm by bulek »
Thanks in advance,

regards,

Bulek.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Mini installation
« Reply #6 on: October 12, 2010, 12:43:32 pm »
I'm interested in Mini version of LinuxMCE... I'd kindly ask (I know you're probably busy) if you can provide at least very brief install instructions...

- install packages, binaries, whatever
- import the database
- run the install script
- (optional) install the web admin

Quote
Also, how difficult would be to build this mini installation on Ubuntu ?
i'm running it on fedora and the guruplug, so I'd suspect that it should be straightforward..

br Hari
rock your home - http://www.agocontrol.com home automation

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Mini installation
« Reply #7 on: March 18, 2011, 10:39:42 pm »
Hi,

Hari do you have any plans regarding visualization for mini installation ?

Have come to this interesting possibility - KnxWeb....

Example: http://penhard.anthony.free.fr/domotique/#

It's written in Jquery (Ajax) and needs some sort of xml server (it generates xml query every second and gets values that are displayed...).

Isn't Orbiter Proxy something near being xml server ?  I've written Perl server for it, but I guess that Perl is too much for mini installation....

Opinions ?

Thanks in advance,

regards,

Bulek.

Thanks in advance,

regards,

Bulek.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Mini installation
« Reply #8 on: March 19, 2011, 01:39:01 am »
i think it would not be too hard to extend RPC-Plugin to spit out proper xml.. I'll look into that, thanks for the pointer

br Hari
rock your home - http://www.agocontrol.com home automation