Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Installation / Documentation for Mango 4.0b
-
Hi guys,
I ran into some troubles with the documentation / installation and wanted to let you know about it. The one I am referring to is hosted at: https://helpv4.mangoautomation.net/linux-installation and I am running a relatively clean and updated Opensuse 15.2
- The install script fails when trying to install Mango 4.0 (or any other version than the default 3.6.6 for that matter):
Archive: /tmp/tmp.5ikghN5F2T
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/tmp.5ikghN5F2T or
/tmp/tmp.5ikghN5F2T.zip, and cannot find /tmp/tmp.5ikghN5F2T.ZIP, period.-
There is an error when trying to run "chown -R mango:mango /opt/mango" because there is no mango group yet.
-
The copy command fails because the unzipped mango archive does not have the overrides folder yet.
cp /opt/mango/classes/env.properties /opt/mango/overrides/properties/
- manually starting Mango complains that the file does not exist...
linux-wh13:/home/fl/SW # sudo -u mango /opt/mango/bin/start-mango.sh > /dev/null &
[1] 13594
linux-wh13:/home/fl/SW # sudo: /opt/mango/bin/start-mango.sh: command not found[1]+ Exit 1 sudo -u mango /opt/mango/bin/start-mango.sh > /dev/null
... and hence does start.
ls /opt/mango/bin/
certbot-deploy.sh genkey.sh getenv.sh install-mango.sh mango.service start-mango.sh start-options.sh stop-mango.sh- While installing the service file works, it does -- unsurprisingly -- not start Mango neither.
mango.service - Mango Automation
Loaded: loaded (/etc/systemd/system/mango.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2020-10-09 10:32:53 CEST; 2s ago
Process: 13198 ExecStart=/opt/mango/bin/start-mango.sh (code=exited, status=203/EXEC)Oct 09 10:32:53 linux-wh13 systemd[1]: Failed to start Mango Automation.
Oct 09 10:32:53 linux-wh13 systemd[1]: mango.service: Unit entered failed state.
Oct 09 10:32:53 linux-wh13 systemd[1]: mango.service: Failed with result 'exit-code'.FWIW, v3.7.7 runs beautifully on this machine.
Thanks in advance for any comments and help,
Frank