Thanks for getting those diagnostics! I can see the problem – you seem to 
somehow be using localhost:8080 as a proxy. That’s the status interface of 
restund (our STUN/TURN server for media relay), which is why retrieving 
http://repo.cw-ngv.com/stable/binary/Release.gpg gets you a page saying 
‘Restund Server Status’ rather than the file.

Can you see if ‘http_proxy="" curl -i 
http://repo.cw-ngv.com/stable/binary/Release.gpg’ works? (i.e. using 
‘http_proxy=””’ to avoid using a proxy)

If you see something like this:

$ http_proxy="" curl -i http://repo.cw-ngv.com/stable/binary/Release.gpg
HTTP/1.1 200 OK
Server: nginx/1.1.19
Date: Fri, 12 Jun 2015 13:48:30 GMT
Content-Type: application/octet-stream
Content-Length: 836
Last-Modified: Mon, 08 Jun 2015 14:32:31 GMT
Connection: keep-alive
Accept-Ranges: bytes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAABCAAGBQJVdadlAAoJEBEdvkciuXkEdEsQAKSv8ypuUnYzVGcRRqrxJP0C
Qm9ufE9IrKAqrsMYQZsaH2qDOcS2s6rDNTHh7mw2BqXA4v+T5XJEqW4l9uSqXm4f
k+jbGpgne+EjU+71Owaw9pgBWc4BpRM32Bj8uOFIXkyqlEpA9ovQjW2PXgTveNpy
zn2xVGpKMWfux9SfPuPRU22dBPfexmudSAnDMIsqEn5iimEBweI7w+bSEStJz9lf
oBcHAP1auRG9UtWbrGawECqLpZCwyGCkbmgEdOjxnNZppbJnIQXZ2FhnaVC7A16+
peHZKMk28ImHVLOo7q4lDAWmMIzChsUzMcod7sSRml9vt5JQdX0Ir8yrlvjbYD0I
sI72Q0waeFQ12y7giWhA2SU5XzowjJSg+vOcZiu0l8ZSEO5mp/CvF22/OKayMagS
fstEzsYdRz2F9p/dc/SIY/xOXNTtbAOhclT1yefE9A+U0DhOohB9t7BFOz+nRyAh
6AY4qC0zFMauRa2Nha0I5aLdfX1DJZWIvph9SudU43lJ/a62aWGkqCXN5krNV/Wz
sItmCVBFZ+AU9wIeY0H33JQnWP3nwDHxQ2R8KmZj/tvxqEqYtKxslPXudANxuD4N
Rct13wEiYA60Whh0PQgOQ7chfqYyH2s2qOYWoMXRuoOLzAvDptOtKDEmNHkv9vb3
chf/fxanZVIQv2KjbCqp
=+obN
-----END PGP SIGNATURE-----

then that should be fixed.

I’d then expect ‘export http_proxy=””; sudo rm -rf /var/lib/apt/lists/*; sudo 
apt-get update -o Dir::Etc::sourcelist="sources.list.d/clearwater.list" -o 
Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" && sudo apt-get install 
clearwater-infrastructure && sudo clearwater-upgrade‘ to work – that clears the 
proxy, deletes any broken files that were previously downloaded, and runs the 
normal upgrade command.

Best,
Rob

--
Rob Day
Software Engineer, Project Clearwater

From: Jan Devai [mailto:[email protected]]
Sent: 12 June 2015 14:24
To: Robert Day
Cc: [email protected]
Subject: Re: [Clearwater] Upgrade from Repo



Hi,

I downloaded files via wget:

-rw-r--r-- 1 root   root    382 Jun 12 13:13 Release.gpg
-rw-r--r-- 1 root   root    378 Jun 12 13:13 Release

Also tried curl:

[cw-aio]root@cw-aio:~# curl -i http://repo.cw-ngv.com/stable/binary/Release.gpg

HTTP/1.1 200 OK

Content-Type: text/html;charset=UTF-8
Content-Length: 381


<html>
<head>
<title>Restund Server Status</title>
</head>
<body>
<h2>Restund Server Status</h2>
<table>
<tr><td>Version:</td><td>0.4.2</td></tr>
<tr><td>Built:</td><td>May 13 2015 08:42:27</td></tr>
<tr><td>Uptime:</td><td>1 day 2 hours 1 min 11 secs</td></tr>
</table>
<hr size="1"/>
<pre>
/repo.cw-ngv.com/stable/binary/Release.gpg<http://repo.cw-ngv.com/stable/binary/Release.gpg>:
 command not found
</pre>
</body>
</html>

[cw-aio]root@cw-aio:~# curl -i http://repo.cw-ngv.com/stable/binary/Release

HTTP/1.1 200 OK

Content-Type: text/html;charset=UTF-8
Content-Length: 377

<html>
<head>
<title>Restund Server Status</title>
</head>
<body>
<h2>Restund Server Status</h2>
<table>
<tr><td>Version:</td><td>0.4.2</td></tr>
<tr><td>Built:</td><td>May 13 2015 08:42:27</td></tr>
<tr><td>Uptime:</td><td>1 day 2 hours 1 min 27 secs</td></tr>
</table>
<hr size="1"/>
<pre>
/repo.cw-ngv.com/stable/binary/Release<http://repo.cw-ngv.com/stable/binary/Release>:
 command not found
</pre>
</body>
</html>



[cw-aio]root@cw-aio:~# apt-key finger
/etc/apt/trusted.gpg
--------------------
….
pub   4096R/22B97904 2013-04-30
…..


[cw-aio]root@cw-aio:~# df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       7.6G  4.2G  3.0G  59% /

….

Best Regards
Jan


-----------------------------------------------------------------------------------------------------------------
On Fri, Jun 12, 2015 at 2:59 PM, Robert Day 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jan,

The file sizes in your output look odd (381 bytes and 377 bytes) – the files 
are larger when I download them:

> Get:1 http://repo.cw-ngv.com binary/ Release.gpg [836 B]
> Get:2 http://repo.cw-ngv.com binary/ Release [1,219 B]

Could you try running ‘curl -i 
http://repo.cw-ngv.com/stable/binary/Release.gpg’ and ‘curl -i 
http://repo.cw-ngv.com/stable/binary/Release’ and posting the output? That 
should show if there are any network/firewall/proxy problems interfering.

If those look OK, can you run ‘df –h’ and ‘sudo apt-key finger’ as well? That 
will show whether you’ve run out of disk space or not got our public key 
(22B97904) installed.

Regarding your original problem (of Cassandra repeatedly restarting), running 
‘sudo monit unmonitor poll_cassandra’ might fix that. We’ve put some fixes here 
in recent releases as well, though.

Thanks,
Rob

--
Rob Day
Software Engineer, Project Clearwater

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Jan Devai
Sent: 12 June 2015 13:28
To: 
[email protected]<mailto:[email protected]>
Subject: [Clearwater] Upgrade from Repo


Hi All,



I finished an all-in-one installation and  found out that Cassandra is 
start/stop in loop.

I would like to upgrade to a newest version but got this error:



[cw-aio]root@cw-aio:~# sudo apt-get update -o 
Dir::Etc::sourcelist="sources.list.d/clearwater.list" -o 
Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup="0" && sudo apt-get install 
clearwater-infrastructure && sudo clearwater-upgrade

Get:1 http://repo.cw-ngv.com<http://repo.cw-ngv.com/> binary/ Release.gpg [381 
B]

Get:2 http://repo.cw-ngv.com<http://repo.cw-ngv.com/> binary/ Release [377 B]

Err http://repo.cw-ngv.com<http://repo.cw-ngv.com/> binary/ Release



Fetched 758 B in 0s (4,446 B/s)

Reading package lists... Done

W: A error occurred during the signature verification. The repository is not 
updated and the previous index files will be used. GPG error: 
http://repo.cw-ngv.com<http://repo.cw-ngv.com/> binary/ Release: The following 
signatures were invalid: NODATA 1 NODATA 2





W: Failed to fetch http://repo.cw-ngv.com/stable/binary/Release



W: Some index files failed to download. They have been ignored, or old ones 
used instead.





Can you help me with this issue, please?


Best Regards
Jan

_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to