SoftEtherVPN: New version (5.1) breaks older installations

Prerequisites

  • [ x ] Can you reproduce?
  • [ x] Are you running the latest version of SoftEtherVPN?

SoftEther version: Component: Server Operating system: Ubuntu 16.04 Architecture: 64 bit

[In case it’s a computer with known specs, such as the Raspberry Pi, you can specify it omitting the details.] Processor: Intel Pentium D (not that it matters to this issue at all)

Description

Update broke current install.

Expected behavior: Installed correctly and no error

Actual behavior: The installation failed with the following:

Jul 21 12:52:10 ubuntu systemd[1]: Starting LSB: SoftEther VPN service...
-- Subject: Unit softether-vpnserver.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit softether-vpnserver.service has begun starting up.
Jul 21 12:52:10 ubuntu softether-vpnserver[16510]: Starting SoftEtherVPN Server: vpnserver/usr/bin/vpnserver: 2: /usr/bin/vpnserver: /opt/vpnserver/vpnserver: not found
Jul 21 12:52:10 ubuntu systemd[1]: softether-vpnserver.service: Control process exited, code=exited status=2
Jul 21 12:52:10 ubuntu systemd[1]: Failed to start LSB: SoftEther VPN service.
-- Subject: Unit softether-vpnserver.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit softether-vpnserver.service has failed.
--
-- The result is failed. 

Steps to reproduce

  1. Install version 5.1 over 4.23
  2. Watch the install and see it fail.

I managed to recover my installation by a backup of the config file and grabbing a copy of an older version deb in the repository of paskal.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 49 (28 by maintainers)

Most upvoted comments

The only aspect we chose over stability is security, but so far only #552 and #688 are caused by that and I’m working on fixing them.

I’m extremely sorry about this issue, we should’ve fixed the systemd services much sooner.

Right now the only thing that’s breaking the PPA builds is cpu_features, as submodules are not supported on Launchpad (https://bugs.launchpad.net/git-build-recipe/+bug/1733603).

They’re working on it, according to the bug status. Meanwhile, as a temporary fix, you could fork this repository and replace the submodule with the files from its repository (https://github.com/google/cpu_features).

привет, из ppa можно поставить пакет с указанием версии, попробуйте поставить явно 4.23.9647 ?

с 5-й версией получилась не очень приятная история, которая к сожалению, еще не закончилась. события развивались примерно так

  1. система сборки перешла на CMake (в этот момент пакеты стали собираться неправильно, но не заметили)
  2. запилили интеловскую реализацию AES-NI (чем сломали билды на неинтеловских архитектурах)
  3. AES-NI починили
  4. систему сборки пакетов первели на CPack, но он требует CMake 3.7, которого нет ни на какой убунте кроме 18.04

пока в таком состоянии. очень нужны руки, которые это могут поддерживать

You’re welcome!

I agree that we should have more tests, especially for the packaging (DEB/RPM for now).

At this very moment absence of debian directory breaks things, if I got it correctly I could just attach it from another repo (as well as submodule, maybe), and it will work. I’ll check it this week. Thanks for the work you’re doing! I think we should introduce more tests to make sure build-related things are stay in some known positions and won’t run away from us once more:)

No news? Switching to Cpack has made the repo completely unusable and blocked the use of softether to many people…

@davidebeatrici I just tried that and it doesn’t work. It says the path to it does not exist.

SoftEther VPN Server is now installed in /usr/libexec/softether/vpnserver.

You can edit the path inside /usr/bin/vpnserver.

Подскажите что делать то? теперь из PPA не ставятся пакеты ни на 14 ни на 18 версию Ubuntu. Можно вернуть старые версии deb пакетов? что бы пользоваться ими? из всего вышеперечисленного я ничего не понял, да же наоборот, только последнее сообщение говорит о реальной проблеме, остальные что тут делают мне не понятно.