<?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[Interesting oupgrade problem and the fix]]></title><description><![CDATA[<p dir="auto">I just got an Omega2+ and oupgrade kept failing with</p>
<blockquote>
<p dir="auto">Device Firmware Version: 0.1.5 b130<br />
Checking latest version online...<br />
ERROR: Could not connect to Onion Firmware Server! Check your internet connection and try again!</p>
</blockquote>
<p dir="auto">I could use opkg, ping sites, and wget sites.<br />
So to debug this in console I used +x option on ash (the shell) as follows:<br />
<strong>sh +x /usr/bin/oupgrade</strong><br />
That shows the shell script in action.<br />
A few lines about the final failure message was:</p>
<ul>
<li>wget -S -O /tmp/tmp.OiAdcC <a href="https://api.onion.io/omega2+/firmware/stable" rel="nofollow">https://api.onion.io/omega2+/firmware/stable</a></li>
<li>resp=--2016-11-23 02:07:44--  <a href="https://api.onion.io/omega2+/firmware/stable" rel="nofollow">https://api.onion.io/omega2+/firmware/stable</a><br />
Resolving <a href="http://api.onion.io" rel="nofollow">api.onion.io</a>... 13.32.205.38, 13.32.205.19, 13.32.205.123, ...<br />
Connecting to api.onion.io|13.32.205.38|:443... connected.<br />
ERROR: cannot verify <a href="http://api.onion.io" rel="nofollow">api.onion.io</a>'s certificate, issued by 'CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,<a href="http://O=GoDaddy.com" rel="nofollow">O=GoDaddy.com</a>\, Inc.,L=Scottsdale,ST=Arizona,C=US':<br />
Issued certificate not yet valid.<br />
To connect to <a href="http://api.onion.io" rel="nofollow">api.onion.io</a> insecurely, use `--no-check-certificate'.</li>
</ul>
<p dir="auto">I scratched my head. WAIT "<em>not yet vaild</em>" on a SSL certificate -- like in was issued in the future or DOH the omega2p was in the past!</p>
<p dir="auto">The date command returned <em><strong>Wed Nov 23 02:13:06 GMT 2016</strong></em>, not good.<br />
The date is not automatically set and ntp wasn't running (used <strong>ps | grep ntp</strong> to check).<br />
I set the date with <strong>date -u -s '2017-06-04 01:27:30'</strong> then tried oupgrade again.<br />
Seems like it is working. It has just typed "Sending TERM to remaining processes ... onion-helper udhcpc S79wifimanager wifimanager udhcpc packet" and disconnected.<br />
Onion amber LED didn't come back on though. I may be in for more FUN.</p>
]]></description><link>http://community.onion.io/topic/2109/interesting-oupgrade-problem-and-the-fix</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 17:20:36 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/2109.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 04 Jun 2017 01:57:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Interesting oupgrade problem and the fix on Sun, 04 Jun 2017 01:57:39 GMT]]></title><description><![CDATA[<p dir="auto">I just got an Omega2+ and oupgrade kept failing with</p>
<blockquote>
<p dir="auto">Device Firmware Version: 0.1.5 b130<br />
Checking latest version online...<br />
ERROR: Could not connect to Onion Firmware Server! Check your internet connection and try again!</p>
</blockquote>
<p dir="auto">I could use opkg, ping sites, and wget sites.<br />
So to debug this in console I used +x option on ash (the shell) as follows:<br />
<strong>sh +x /usr/bin/oupgrade</strong><br />
That shows the shell script in action.<br />
A few lines about the final failure message was:</p>
<ul>
<li>wget -S -O /tmp/tmp.OiAdcC <a href="https://api.onion.io/omega2+/firmware/stable" rel="nofollow">https://api.onion.io/omega2+/firmware/stable</a></li>
<li>resp=--2016-11-23 02:07:44--  <a href="https://api.onion.io/omega2+/firmware/stable" rel="nofollow">https://api.onion.io/omega2+/firmware/stable</a><br />
Resolving <a href="http://api.onion.io" rel="nofollow">api.onion.io</a>... 13.32.205.38, 13.32.205.19, 13.32.205.123, ...<br />
Connecting to api.onion.io|13.32.205.38|:443... connected.<br />
ERROR: cannot verify <a href="http://api.onion.io" rel="nofollow">api.onion.io</a>'s certificate, issued by 'CN=Go Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/repository/,<a href="http://O=GoDaddy.com" rel="nofollow">O=GoDaddy.com</a>\, Inc.,L=Scottsdale,ST=Arizona,C=US':<br />
Issued certificate not yet valid.<br />
To connect to <a href="http://api.onion.io" rel="nofollow">api.onion.io</a> insecurely, use `--no-check-certificate'.</li>
</ul>
<p dir="auto">I scratched my head. WAIT "<em>not yet vaild</em>" on a SSL certificate -- like in was issued in the future or DOH the omega2p was in the past!</p>
<p dir="auto">The date command returned <em><strong>Wed Nov 23 02:13:06 GMT 2016</strong></em>, not good.<br />
The date is not automatically set and ntp wasn't running (used <strong>ps | grep ntp</strong> to check).<br />
I set the date with <strong>date -u -s '2017-06-04 01:27:30'</strong> then tried oupgrade again.<br />
Seems like it is working. It has just typed "Sending TERM to remaining processes ... onion-helper udhcpc S79wifimanager wifimanager udhcpc packet" and disconnected.<br />
Onion amber LED didn't come back on though. I may be in for more FUN.</p>
]]></description><link>http://community.onion.io/post/13340</link><guid isPermaLink="true">http://community.onion.io/post/13340</guid><dc:creator><![CDATA[a9k]]></dc:creator><pubDate>Sun, 04 Jun 2017 01:57:39 GMT</pubDate></item><item><title><![CDATA[Reply to Interesting oupgrade problem and the fix on Sun, 04 Jun 2017 02:23:10 GMT]]></title><description><![CDATA[<p dir="auto">you might want to go through the setup process by using browser to navigate 192.168.3.1</p>
]]></description><link>http://community.onion.io/post/13341</link><guid isPermaLink="true">http://community.onion.io/post/13341</guid><dc:creator><![CDATA[Douglas Kryder]]></dc:creator><pubDate>Sun, 04 Jun 2017 02:23:10 GMT</pubDate></item><item><title><![CDATA[Reply to Interesting oupgrade problem and the fix on Sun, 04 Jun 2017 17:45:15 GMT]]></title><description><![CDATA[<p dir="auto">Tried that first. The oupgrade script will fail is clock is in the past.</p>
]]></description><link>http://community.onion.io/post/13360</link><guid isPermaLink="true">http://community.onion.io/post/13360</guid><dc:creator><![CDATA[a9k]]></dc:creator><pubDate>Sun, 04 Jun 2017 17:45:15 GMT</pubDate></item><item><title><![CDATA[Reply to Interesting oupgrade problem and the fix on Thu, 06 Jul 2017 23:03:47 GMT]]></title><description><![CDATA[<p dir="auto">Setting the time locally worked for me too.  The real solution would be to fix the time it's pulling via ntp or lack there of.  I attempted to update uci with <a href="http://0.pool.ntp.org" rel="nofollow">0.pool.ntp.org</a>, with no joy.  How do you fix the NTP daemon?</p>
]]></description><link>http://community.onion.io/post/13672</link><guid isPermaLink="true">http://community.onion.io/post/13672</guid><dc:creator><![CDATA[Eric Marquez]]></dc:creator><pubDate>Thu, 06 Jul 2017 23:03:47 GMT</pubDate></item></channel></rss>