<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error when setting up Omega2 Pro [with solution]]]></title><description><![CDATA[<p dir="auto">I received my Omega2 Pro today and started setting it up this evening.</p>
<p dir="auto">During the initial setup, the web interface 'hung' during the firmware upgrade. I reloaded the browser and was able to login to the console.</p>
<p dir="auto">Running <code>oupgrade -c</code>, I found I needed to upgrade still.</p>
<p dir="auto">When I ran <code>oupgrade</code>, I got the error message:</p>
<pre><code class="language-sh">/usr/bin/oupgrade: local: line 378: not in a function
</code></pre>
<p dir="auto">I went looking in the Onion GitHub repos and found this patch at <a href="https://github.com/OnionIoT/oupgrade/commit/941a638283e2acfefe5fdab33886cdd672d949a8" rel="nofollow">https://github.com/OnionIoT/oupgrade/commit/941a638283e2acfefe5fdab33886cdd672d949a8</a></p>
<p dir="auto">I made the one line change to the script and was able to run <code>oupgrade</code>.</p>
<p dir="auto">You'll also need to run the <code>onion os update</code> command to get the new apps once you've upgraded the firmware.</p>
<p dir="auto">I guess some of the boards didn't get the latest patches before they were shipped?</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Emma H.</p>
]]></description><link>http://community.onion.io/topic/3453/error-when-setting-up-omega2-pro-with-solution</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 17:22:13 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3453.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 Feb 2019 07:55:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Sun, 10 Feb 2019 07:55:44 GMT]]></title><description><![CDATA[<p dir="auto">I received my Omega2 Pro today and started setting it up this evening.</p>
<p dir="auto">During the initial setup, the web interface 'hung' during the firmware upgrade. I reloaded the browser and was able to login to the console.</p>
<p dir="auto">Running <code>oupgrade -c</code>, I found I needed to upgrade still.</p>
<p dir="auto">When I ran <code>oupgrade</code>, I got the error message:</p>
<pre><code class="language-sh">/usr/bin/oupgrade: local: line 378: not in a function
</code></pre>
<p dir="auto">I went looking in the Onion GitHub repos and found this patch at <a href="https://github.com/OnionIoT/oupgrade/commit/941a638283e2acfefe5fdab33886cdd672d949a8" rel="nofollow">https://github.com/OnionIoT/oupgrade/commit/941a638283e2acfefe5fdab33886cdd672d949a8</a></p>
<p dir="auto">I made the one line change to the script and was able to run <code>oupgrade</code>.</p>
<p dir="auto">You'll also need to run the <code>onion os update</code> command to get the new apps once you've upgraded the firmware.</p>
<p dir="auto">I guess some of the boards didn't get the latest patches before they were shipped?</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Emma H.</p>
]]></description><link>http://community.onion.io/post/18842</link><guid isPermaLink="true">http://community.onion.io/post/18842</guid><dc:creator><![CDATA[Emma Humphries]]></dc:creator><pubDate>Sun, 10 Feb 2019 07:55:44 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Thu, 14 Feb 2019 22:20:52 GMT]]></title><description><![CDATA[<p dir="auto">I had the same problem, and can confirm that Emma's solution solved it for me.</p>
<p dir="auto">Thanks, Emma!</p>
]]></description><link>http://community.onion.io/post/18871</link><guid isPermaLink="true">http://community.onion.io/post/18871</guid><dc:creator><![CDATA[Angus McIntyre]]></dc:creator><pubDate>Thu, 14 Feb 2019 22:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Fri, 15 Feb 2019 13:57:07 GMT]]></title><description><![CDATA[<p dir="auto">Pardon my ignorance, but where exactly is this file located on the Onion (ie: <a href="http://oupgrade.sh" rel="nofollow">oupgrade.sh</a>)?</p>
<p dir="auto">-- Yvan</p>
]]></description><link>http://community.onion.io/post/18877</link><guid isPermaLink="true">http://community.onion.io/post/18877</guid><dc:creator><![CDATA[Yvan Gagnon]]></dc:creator><pubDate>Fri, 15 Feb 2019 13:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Fri, 15 Feb 2019 15:21:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/5128">@Yvan-Gagnon</a><br />
It's not <code>oupgrade.sh</code>, just <code>oupgrade</code> and it's in located in <code>/usr/bin</code>:</p>
<pre><code>root@Omega-FA93:~# which oupgrade
/usr/bin/oupgrade
root@Omega-FA93:~#
</code></pre>
]]></description><link>http://community.onion.io/post/18878</link><guid isPermaLink="true">http://community.onion.io/post/18878</guid><dc:creator><![CDATA[cas]]></dc:creator><pubDate>Fri, 15 Feb 2019 15:21:07 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Fri, 15 Feb 2019 18:31:54 GMT]]></title><description><![CDATA[<p dir="auto">To chime in: yes, there was a bug in the <code>oupgrade</code> program in the firmware that was installed during production. This has since been fixed and the fix is included in the latest firmware.</p>
<p dir="auto">So there's three ways you can upgrade your Omega2 Pro if you are on firmware <code>v0.3.0 b207</code> or lower</p>
<ol>
<li>Use the browser-based setup wizard, the steps can be found <a href="https://onion.io/omega2-pro-get-started/" rel="nofollow">here</a></li>
<li>Follow our <a href="http://docs.onion.io/omega2-docs/manual-firmware-installation.html" rel="nofollow">manual firmware installation guide</a>, just note for step 1, you can find the latest Omega2 Pro firmware <a href="http://repo.onioniot.com/omega2/images/" rel="nofollow">here</a></li>
<li>Make the fix to oupgrade as mentioned above</li>
</ol>
<p dir="auto">Once you've installed the latest firmware, <code>oupgrade</code> will work as intended <img src="http://community.onion.io/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ic093v0mjao" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>http://community.onion.io/post/18880</link><guid isPermaLink="true">http://community.onion.io/post/18880</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Fri, 15 Feb 2019 18:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Sat, 16 Feb 2019 14:30:53 GMT]]></title><description><![CDATA[<p dir="auto">I too can confirm that applying the patch works and allows me to upgrade the device.  However .. I'm having some issues with the browser based interface -- with the App Manager in particular.  I was only able to install the Timelapse Aamera &amp; Power Dock 2 Apps. Attempts to install any other apps Continually fail.</p>
<p dir="auto">How would I install the apps via the command line?</p>
<ol>
<li>Legacy Console</li>
<li>Node-Red</li>
<li>Code Editor</li>
</ol>
<p dir="auto">-- Yvan</p>
]]></description><link>http://community.onion.io/post/18889</link><guid isPermaLink="true">http://community.onion.io/post/18889</guid><dc:creator><![CDATA[Yvan Gagnon]]></dc:creator><pubDate>Sat, 16 Feb 2019 14:30:53 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Sun, 17 Feb 2019 01:19:58 GMT]]></title><description><![CDATA[<p dir="auto">I got my Omega2pro on Friday and had the same problem but not checking here first (not been here for a long while) I emailed Lazar who gave me some pointers and I ended up downloading the b211 BIN file from the repository and after copying the BIN file to /tmp used the manual update with file method. I noticed versions b212 and b213 were on the repository but "oupgrade check" was happy that b211 was the latest?</p>
<p dir="auto">I did hit a massive snag - I was using Firefox on an iMac "connected" to the Onion at 192.168.3.1 and using the busybox terminal program on the Onion itself. Problem was I couldn't type the dash symbol (between the zero and equals keys) - the key worked everywhere else except in busybox. Tried a wired keyboard on the iMac and the dash key still didn't work. Curiously the minus key on the number cluster of my wired keyboard did work allowing me to type the BIN file's name properly.</p>
<p dir="auto">Anyone else found something as daft as that?</p>
]]></description><link>http://community.onion.io/post/18891</link><guid isPermaLink="true">http://community.onion.io/post/18891</guid><dc:creator><![CDATA[Neil Manuel]]></dc:creator><pubDate>Sun, 17 Feb 2019 01:19:58 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Sun, 17 Feb 2019 02:02:07 GMT]]></title><description><![CDATA[<p dir="auto">based on what i've read before in other threads the firmware for the omega2 pro can be flashed to the omega2+, is this correct? i also wanted to mention that the links for "images" and "packages" appear to be broken on this page<br />
<a href="http://repo.onioniot.com/omega2/packages/onion/images/?prefix=omega2/" rel="nofollow">http://repo.onioniot.com/omega2/packages/onion/images/?prefix=omega2/</a></p>
<p dir="auto">the link address for "images" is [on chrome]<br />
<a href="http://repo.onioniot.com/omega2/packages/onion/images/images/" rel="nofollow">http://repo.onioniot.com/omega2/packages/onion/images/images/</a></p>
<p dir="auto">and for "packages" is [on chrome]<br />
<a href="http://repo.onioniot.com/omega2/packages/onion/images/packages/" rel="nofollow">http://repo.onioniot.com/omega2/packages/onion/images/packages/</a></p>
]]></description><link>http://community.onion.io/post/18892</link><guid isPermaLink="true">http://community.onion.io/post/18892</guid><dc:creator><![CDATA[Douglas Kryder]]></dc:creator><pubDate>Sun, 17 Feb 2019 02:02:07 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Sun, 17 Feb 2019 17:02:52 GMT]]></title><description><![CDATA[<p dir="auto">I have to say .. it turned out that I was mistaken about the patch being the solution (for me, anyways).  Although it did allow me to run oupgrade and get everything seemingly up to date .. minutes after I posted my reply, my device started behaving erratically, continuously disconnecting from and reconnecting to Wifi, and was mysteriously re-booting itself about every minute or so.  I ended up having to do another factory reset and took another shot at re-configuring my Wifi connection and installing apps through the browser interface (which I succeeded at, .. finally).  There was no rhyme or reason to it, to be honest.</p>
<p dir="auto">I think the main problem is that there's never any clear indication that firmware updates, Onion OS updates, or Apps have been properly downloaded or installed, or if/when rebooting the device is necessary.  Now that I've finally got the device up and running, I'm reluctant to ever apply any other firmware or Onion OS updates ever again, because it always results in problems. I encountered the exact same issues with my Omega2+.</p>
<p dir="auto">-- Yvan</p>
]]></description><link>http://community.onion.io/post/18894</link><guid isPermaLink="true">http://community.onion.io/post/18894</guid><dc:creator><![CDATA[Yvan Gagnon]]></dc:creator><pubDate>Sun, 17 Feb 2019 17:02:52 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Sun, 17 Feb 2019 19:57:46 GMT]]></title><description><![CDATA[<p dir="auto">thanks, that did also the trick at my omea, I suggest to also mention the fact that after the upgrade you lose your ssh connection, if used, and have to wait a minute. cheers Ger</p>
]]></description><link>http://community.onion.io/post/18899</link><guid isPermaLink="true">http://community.onion.io/post/18899</guid><dc:creator><![CDATA[Ger Buurman 0]]></dc:creator><pubDate>Sun, 17 Feb 2019 19:57:46 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Wed, 20 Feb 2019 13:47:48 GMT]]></title><description><![CDATA[<p dir="auto">I had the same issue with oupgrade, the patch didn't work for me. Instead I just commented out the lines:</p>
<p dir="auto">#local verbosity="-q"</p>
<h1>verbosity="-q"</h1>
<h1>if [ $bJsonOutput == 0 ]; then</h1>
<h1>verbosity=""</h1>
<h1>fi</h1>
<p dir="auto">then removed the reference to $verbosity in the wget command below.</p>
]]></description><link>http://community.onion.io/post/18928</link><guid isPermaLink="true">http://community.onion.io/post/18928</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Wed, 20 Feb 2019 13:47:48 GMT</pubDate></item><item><title><![CDATA[Reply to Error when setting up Omega2 Pro [with solution] on Wed, 20 Feb 2019 16:07:29 GMT]]></title><description><![CDATA[<p dir="auto">Made an official, pinned thread on this:<br />
<a href="http://community.onion.io/topic/3470/official-resolution-oupgrade-not-working-on-omega2-pro-factory-firmware">http://community.onion.io/topic/3470/official-resolution-oupgrade-not-working-on-omega2-pro-factory-firmware</a></p>
<p dir="auto">Note that since <code>oupgrade</code> has been fixed, you can install the latest version and then use it to upgrade your firmware:</p>
<pre><code>opkg update
opgk upgrade oupgrade
oupgrade
</code></pre>
]]></description><link>http://community.onion.io/post/18932</link><guid isPermaLink="true">http://community.onion.io/post/18932</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 20 Feb 2019 16:07:29 GMT</pubDate></item></channel></rss>