Update problem

If I run the update command I get

root@WB:~# apt-get update && apt-get install globaleaks
Hit:1 http://it.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
globaleaks is already the newest version (3.0.15).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

but if the 3.0.15 version does not seem to me is the last one.

How can I update?

Thanks

Hello,

does the problem get fixed?

Hi, thanks for the reply. Do you know how to get extended logs?

I tried a new installation, this is the log

root@WB:~# ./install-globaleaks.sh
Checking preliminary packaging GlobaLeaks requirements

  • apt-key requirement met
  • apt-get requirement met
    Detected OS: Ubuntu - bionic
    WARNING: GlobaLeaks is supported and tested only on Ubuntu Xenial (16.04)
    Do you wish to continue anyway? [y|n]?y
    Running: “apt-get update -y”… SUCCESS
  • curl requirement met
  • netstat requirement met
    Running: “is_tcp_sock_free_check 0.0.0.0:80”… SUCCESS
    Running: “is_tcp_sock_free_check 0.0.0.0:443”… SUCCESS
    Running: “is_tcp_sock_free_check 127.0.0.1:8082”… SUCCESS
    Running: “is_tcp_sock_free_check 127.0.0.1:8083”… SUCCESS
  • required TCP sockets open
    No packages available for the current distribution; the install script will use the Xenial repository.
    In case of a failure refer to the wiki for manual setup possibilities.
    GlobaLeaks wiki: https://github.com/globaleaks/GlobaLeaks/wiki
    Adding GlobaLeaks PGP key to trusted APT keys
    Running: “apt-key add /tmp/tmp.n7V1zQm4Va/globaleaks_key”… SUCCESS
    Running: “rm /tmp/tmp.n7V1zQm4Va/globaleaks_key”… SUCCESS
    Installing software-properties-common
    Running: “apt-get install software-properties-common -y”… SUCCESS
    Adding Tor PGP key to trusted APT
    Running: “apt-key add /tmp/tmp.n7V1zQm4Va/torproject_key”… SUCCESS
    Running: “rm /tmp/tmp.n7V1zQm4Va/torproject_key”… SUCCESS
    Adding Tor repository
    Running: “add-apt-repository ‘deb http://deb.torproject.org/torproject.org xenial main’”… FAIL
    Ouch! The installation failed.
    COMBINED STDOUT/STDERR OUTPUT OF FAILED COMMAND:
    Hit:1 http://it.archive.ubuntu.com/ubuntu bionic InRelease
    Hit:2 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease
    Hit:3 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease
    Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
    Get:5 http://deb.torproject.org/torproject.org xenial InRelease [4,256 B]
    Err:5 http://deb.torproject.org/torproject.org xenial InRelease
    The following signatures were invalid: EXPKEYSIG 74A941BA219EC810 deb.torproject.org archive signing key
    Reading package lists…
    W: GPG error: http://deb.torproject.org/torproject.org xenial InRelease: The following signatures were invalid: EXPKEYSIG 74A941BA219EC810 deb.torproject.org archive signing key
    E: The repository ‘http://deb.torproject.org/torproject.org xenial InRelease’ is not signed.
    For Professional Support requests please visit: https://www.globaleaks.org/contact/
    Please report encountered issues to the Community Forum at https://forum.globaleaks.org

there seems to be an error with a key How can I solve?

Is the system running Ubuntu 18.04 LTS Bionic or the older ubuntu with Xenial?

Ubuntu 18.04.1 LTS Bionic

@Pyramid: i guess you are using an old installation script.

Download the correct one and retry: https://deb.globaleaks.org/install-globaleaks.sh

Tried now, same identical log.

@Pyramid: right know, having used and old script (do you confirm this) you have to make a small change to rever a configuration performed by the old script.

Open the file /etc/apt/sources.list and remove every line containing ‘torproject’.

After that run the new script again and it should work.

There was only one line to comment. Done. But the same problem persists

Actually if the torproject lines is removed from any file in /etc/apt the error have to disappear.

Please try again and get sure to be using the latest install script.

ok, I’m probably wrong to restart the script. I edit /etc/apt/sources.list and then launch ./install-globaleaks.sh and I get the error.
But if I return to /etc/apt/sources.list, the comment is deleted

Now I installed it, but I always get the same message

“Ouch! The installation is complete but GlobaLeaks failed to start.”

What the log does say in /var/globaleaks/log/ just after this startup failure?

I run

/etc/init.d/globaleaks restart

I get

[ ok ] Restarting globaleaks (via systemctl): globaleaks.service.

I run

ls on /var/globaleaks/log

I get

globaleaks.log globaleaks.log.1 globaleaks.log.2 globaleaks.log.3 globaleaks.log.4 globaleaks.log.5

cat /var/globaleaks/log/globaleaks.log
cat /var/globaleaks/log/globaleaks.log.1
cat /var/globaleaks/log/globaleaks.log.2
cat /var/globaleaks/log/globaleaks.log.3
cat /var/globaleaks/log/globaleaks.log.4
cat /var/globaleaks/log/globaleaks.log.5

but no logs with today’s date

which version is now installed? You can check with

dpkg -l | grep -i globaleaks

root@WB:~# dpkg -l | grep -i globaleaks
ii  globaleaks                            3.0.15                            all          Opensource whistleblowing platform.

and if I try to update it I get it

apt-get update && apt-get install globaleaks

.....


globaleaks is already the newest version (3.0.15).

Interesting, please paste the output of those commands:
uname -a
lsb_release -a
cat /etc/apt/sources.list.d/globaleaks.list

root@WB:~# uname -a
Linux WB 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

root@WB:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

root@WB:~# cat /etc/apt/sources.list.d/globaleaks.list
# deb http://deb.globaleaks.org xenial/ # disabled on upgrade to bionic

Ah, basically there’s no globaleaks repository being added (there’s an old xenial, don’t know why), so there maybe a bug in the installation script.

Please do that commands and report the full output:

cd /tmp/
wget https://deb.globaleaks.org/install-globaleaks.sh
chmod +x install-globaleaks.sh
bash -x ./install-globaleaks.sh
cat /etc/apt/sources.list.d/globaleaks.list