Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTP Module fails on install #1872

Open
carlos-mora opened this issue Apr 25, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@carlos-mora
Copy link

commented Apr 25, 2019

This problem appears when the FTP module is activated. The problem appears either in a new installation or when activated in a basic installation.
After that the web interface turns unusable, with the same error.

Error loading class: EBox::FTP error: Attempt to reload EBox/FTP.pm aborted.
Compilation failed in require at (eval 1041) line 1.
BEGIN failed--compilation aborted at (eval 1041) line 1.
at /usr/share/perl5/EBox/GlobalImpl.pm line 830

in EBox::GlobalImpl::modInstance at /usr/share/perl5/EBox/GlobalImpl.pm line 830

  827:     my $modInstance = $instances->{$name};
  828:     if (defined($modInstance)) {
  829:         return $modInstance;
  830:     }
  831: 
  832:     $global->modExists($name) or return undef;
  833:     my $classname = $global->_className($name);

Show function arguments
in EBox::Global::AUTOLOAD at /usr/share/perl5/EBox/Global.pm line 93

   90:     }
   91: 
   92:     if ($ro_methods{$methodName}) {
   93:         $global->$methodName($ro, @params);
   94:     } else {
   95:         $global->$methodName(@params);
   96:     }

Show function arguments
in EBox::Dashboard::CGI::Index::masonParameters at /usr/share/perl5/EBox/Dashboard/CGI/Index.pm line 69

   66:     my @modNames = @{$global->modNames()};
   67:     my $widgets = {};
   68:     foreach my $name (@modNames) {
   69:         my $mod = $global->modInstance($name);
   70:         my $wnames;
   71:         try {
   72:             $wnames = $mod->widgets();

Show function arguments
in EBox::CGI::Base::_process at /usr/share/perl5/EBox/CGI/Base.pm line 605

  602: #    new
  603: sub setTemplate
  604: {
  605:     my ($self, $template) = @_;
  606:     $self->{template} = $template;
  607: }
  608: 

Show function arguments
in (eval) at /usr/share/perl5/EBox/CGI/Base.pm line 311

  308:     } else {
  309:         try {
  310:             $self->_validateReferer();
  311:             $self->_process();
  312:         } catch (EBox::Exceptions::WrongHTTPReferer $e) {
  313:             $self->setErrorFromException($e);
  314:             $self->{wrongReferer} = 1;

in EBox::CGI::Base::run at /usr/share/perl5/EBox/CGI/Base.pm line 309

  306:     if (not $self->_loggedIn) {
  307:         $self->{redirect} = "/Login/Index";
  308:     } else {
  309:         try {
  310:             $self->_validateReferer();
  311:             $self->_process();
  312:         } catch (EBox::Exceptions::WrongHTTPReferer $e) {

Show function arguments
in (eval) at /usr/share/perl5/EBox/CGI/Run.pm line 92

   89:                 $handler = new $classname(@extraParams);
   90:             }
   91:         }
   92:         $handler->run();
   93:         $redis->commit();
   94:         return $handler->response()->finalize();
   95:     } catch ($ex) {

in EBox::CGI::Run::run at /usr/share/perl5/EBox/CGI/Run.pm line 68

   65:     $redis->begin();
   66: 
   67:     my $url = $self->urlFromRequest($request);
   68:     try {
   69:         my $effectiveUrl = _urlAlias($url);
   70:         my @extraParams = (request => $request);
   71:         if ($htmlblocks) {

Show function arguments
in Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ at /usr/share/zentyal/psgi/zentyal.psgi line 46

   43:     local $SIG{__WARN__} = sub { EBox::warn($_[0]) };
   44: 
   45:     my $req = Plack::Request->new($env);
   46:     return EBox::CGI::Run->run($req);
   47: };
   48: 
   49: my $builder = new Plack::Builder();

Show function arguments
in Plack::App::URLMap::call at /usr/share/perl5/Plack/App/URLMap.pm line 71

   68:         return $self->response_cb($app->($env), sub {
   69:             $env->{PATH_INFO} = $orig_path_info;
   70:             $env->{SCRIPT_NAME} = $orig_script_name;
   71:         });
   72:     }
   73: 
   74:     DEBUG && warn "All matching failed.\n";

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in EBox::Middleware::Auth::call at /usr/share/perl5/EBox/Middleware/Auth.pm line 366

  363:         $self->_logout($env);
  364:     } elsif ($self->_validateSession($env)) {
  365:         delete $env->{'psgix.session'}{AuthReason};
  366:         return $self->app->($env);
  367:     } else {
  368:         # Require authentication, redirect to the login form.
  369:         return $self->_redirectToLogin($env);

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in Plack::Middleware::Conditional::call at /usr/share/perl5/Plack/Middleware/Conditional.pm line 16

   13:     my($self, $env) = @_;
   14: 
   15:     my $app = $self->condition->($env) ? $self->middleware : $self->app;
   16:     return $app->($env);
   17: }
   18: 
   19: 1;

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in EBox::WebAdmin::Middleware::SubAppAuth::call at /usr/share/perl5/EBox/WebAdmin/Middleware/SubAppAuth.pm line 57

   54:             }
   55:         }
   56:     }
   57:     return $self->app->($env);
   58: }
   59: 
   60: 1;

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in Plack::Middleware::Session::call at /usr/share/perl5/Plack/Middleware/Session.pm line 53

   50: 
   51:     $env->{'psgix.session.options'} = { id => $id };
   52: 
   53:     my $res = $self->app->($env);
   54:     $self->response_cb($res, sub { $self->finalize($env, $_[0]) });
   55: }
   56: 

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in Plack::Middleware::ReverseProxy::call at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68

   65:         }
   66:     }
   67: 
   68:     $self->app->($env);
   69: }
   70: 
   71: 1;

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in (eval) at /usr/share/perl5/EBox/Middleware/UnhandledError.pm line 78

   75:     my $res;
   76:     my $caught = 0;
   77:     try {
   78:         $res = $self->app->($env);
   79:     } catch ($e) {
   80:         $caught = 1;
   81:         # This $res will only be used if $trace is undef

in EBox::Middleware::UnhandledError::call at /usr/share/perl5/EBox/Middleware/UnhandledError.pm line 77

   74: 
   75:     my $res;
   76:     my $caught = 0;
   77:     try {
   78:         $res = $self->app->($env);
   79:     } catch ($e) {
   80:         $caught = 1;

Show function arguments
in Plack::Component::__ANON__ at /usr/share/perl5/Plack/Component.pm line 50

   47: sub to_app {
   48:     my $self = shift;
   49:     $self->prepare_app;
   50:     return sub { $self->call(@_) };
   51: }
   52: 
   53: 

Show function arguments
in (eval) at /usr/share/zentyal/psgi/zentyal.psgi line 0

    1: # Copyright (C) 2010-2014 Zentyal S.L.
    2: #
    3: # This program is free software; you can redistribute it and/or modify

at /usr/share/zentyal/psgi/zentyal.psgi line 0

    1: # Copyright (C) 2010-2014 Zentyal S.L.
    2: #
    3: # This program is free software; you can redistribute it and/or modify
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.