Author Topic: saving webadmin module stuck on 100%  (Read 78 times)

foeke

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
saving webadmin module stuck on 100%
« on: January 30, 2023, 01:28:33 pm »
I just started using Zentyal and used to use ClearOS (CentOS based Zentyal like distibution).
I installed a fresh 7.0 on a customers server. Everything worked, until I was configuring the OVPN certificates/connections. I did that before on the exact same server for a test run.
When saving, you get the popup with how many things need to be changed/updated. The last part is the "saving webadmin module" and then it gets stuck when it looks like it's done.
If I refresh the page, the changes are undone and I need to save the changes again. (to no avail)
The dashboard did say some modules required a restart, so I did that. But that didn't solve the "saving webadmin module" issue.
I did find I was not the only one with this issue.
https://github.com/zentyal/zentyal/issues/2102
But I can't believe this has not been solved half a year later.



turalyon

  • Zen Warrior
  • ***
  • Posts: 155
  • Karma: +14/-0
    • View Profile
Re: saving webadmin module stuck on 100%
« Reply #1 on: January 31, 2023, 10:54:39 am »
You're right, you are being affected by that 'old' bug. However, if the change button doesn't disappear, don't worry, the actions were applied. You can confirm it by checking the log file '/var/log/zentyal/zentyal.log'.

--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".

foeke

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: saving webadmin module stuck on 100%
« Reply #2 on: January 31, 2023, 12:45:26 pm »
I'm afraid the actions have not been applied. In the test environment I got an extra line in the certificates. And that isn't being made.
I've added the log file. Last thing I did was clicking that "save changes option" and wait like a minute to be sure.
Then I downloaded the log.
When I try to attach the log file (399kb) I get the error here, that the drive is full.

So I'll past the content from today.
2023/01/31 07:37:08 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: webadmin
2023/01/31 12:15:28 WARN> Auth.pm:277 EBox::Middleware::Auth::_login - Failed login from: 192.168.34.104
2023/01/31 12:15:28 DEBUG> PAM.pm:83 Authen::Simple::PAM::check - Successfully authenticated user 'adminwolff' using service 'zentyal'.
2023/01/31 12:15:34 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:15:34 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:15:34 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:15:45 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1
2023/01/31 12:16:00 INFO> GlobalImpl.pm:617 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall webadmin
2023/01/31 12:16:01 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2023/01/31 12:16:02 INFO> GlobalImpl.pm:660 EBox::GlobalImpl::saveAllModules - Saving configuration: webadmin
2023/01/31 12:16:02 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: webadmin
2023/01/31 12:16:17 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:16:17 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:16:17 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:16:46 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:16:46 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:16:46 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:16 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:16 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:16 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:46 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:46 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:46 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:50 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:50 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:50 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:17:51 INFO> Index.pm:187 EBox::Dashboard::CGI::Index::masonParameters - dashboard1
2023/01/31 12:18:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:18:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:18:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:18:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:18:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:18:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:19:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:19:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:19:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:19:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:19:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:19:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:20:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:20:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:20:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:20:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:20:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:20:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:21:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:21:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:21:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:21:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:21:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:21:52 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:22:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $proto in uc at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:22:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $addr in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.
2023/01/31 12:22:22 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $port in concatenation (.) or string at /usr/share/perl5/EBox/OpenVPN/Client.pm line 565.



Not often does google give so few hits when I search for (parts of) the error.

turalyon

  • Zen Warrior
  • ***
  • Posts: 155
  • Karma: +14/-0
    • View Profile
Re: saving webadmin module stuck on 100%
« Reply #3 on: February 01, 2023, 11:17:37 am »
Hi,

If you believe it does not apply all the changes, you can temporarily undo the code part that causes the bug and wait until Zentyal fixes it. The bug is in [this](https://github.com/zentyal/zentyal/commit/faf0951e119bd0a7c3689fc09d646ec77c7bd17c#diff-b7d97a6d1679955fe2edc2d26171bbdcb8fae53e2e8e8c3dd65674ef3060a855) commit. Basically, you just need to undo the change in /usr/share/perl5/EBox/WebAdmin.pm of your Zentyal server, and then, restart the Webadmin module as follows:

Code: [Select]
sudo zs webadmin restart

Hope it helps.

--

“This world is ours, and by the Holy Light we will keep it safe, now and forever".

foeke

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: saving webadmin module stuck on 100%
« Reply #4 on: February 03, 2023, 03:58:18 pm »
Done that, but didn't make a difference.
Isn't the error trying to say there is something wrong in the Client.pm? Some variable file from the VPN part?
I tried to disable and remove all things VPN related. But that didn't help. I even gained a problem in that I revoked the certificate for the VPN (delete was no option). Then I enabled it again, and now I got two. One valid, one revoked but with the same name. And an error saying I have two certificates with the same name. But no option to change this?