Process Backgrounded 2023/12/01-20:24:38 Starman::Server (type Net::Server::PreFork) starting! pid(1011) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2023/12/01-20:28:43 Received QUIT. Running a graceful shutdown Sending children hup signal 2023/12/01-20:28:43 Worker processes cleaned up 2023/12/01-20:28:43 Server closing! Process Backgrounded 2023/12/01-20:28:43 Starman::Server (type Net::Server::PreFork) starting! pid(4650) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2023/12/01-20:28:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2023/12/01-20:28:49 Worker processes cleaned up 2023/12/01-20:28:49 Server closing! Process Backgrounded 2023/12/01-20:28:49 Starman::Server (type Net::Server::PreFork) starting! pid(4760) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2023/12/01-20:44:12 Received QUIT. Running a graceful shutdown Sending children hup signal 2023/12/01-20:44:12 Worker processes cleaned up 2023/12/01-20:44:12 Server closing! Process Backgrounded 2023/12/01-20:44:12 Starman::Server (type Net::Server::PreFork) starting! pid(5834) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2023/12/01-20:44:49 Received QUIT. Running a graceful shutdown Sending children hup signal 2023/12/01-20:44:49 Worker processes cleaned up 2023/12/01-20:44:49 Server closing! Process Backgrounded 2023/12/01-20:44:51 Starman::Server (type Net::Server::PreFork) starting! pid(6415) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2023/12/11-19:59:52 Received QUIT. Running a graceful shutdown Sending children hup signal 2023/12/11-19:59:52 Worker processes cleaned up 2023/12/11-19:59:52 Server closing! Process Backgrounded 2023/12/11-19:59:53 Starman::Server (type Net::Server::PreFork) starting! pid(86237) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ Could not mkdir /tmp/cgi_compile_86239: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55af81623c40)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^Juse Koha::Token;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( \'FA\' );^J^Jmy $homebranch;^Jif (C4::Context->userenv) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J csrf_token => Koha::Token->new->generate_csrf( { session_id => $query->cookie(\'CGISESSID\'), } ),^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited({ approved => 0 })->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif( C4::Context->only_my_library ){^J my $local_pendingsuggestions_count = Koha::Suggestions->search({ status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'} })->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search({ status => "ASKED" });^J my $local_pendingsuggestions_count = $pendingsuggestions->search({ \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} })->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count ? $pendingsuggestions_count : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count( $branch );^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 });^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search({ status => \'New\' });^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param(^J pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs = Koha::BackgroundJobs->search(^J { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55af8b6245a0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55af8b6245a0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55af8157e248)', 'HASH(0x55af8b75ddb8)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55af8157e248)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55af8b4cc038)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55af8b99e7f0)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55af8ba303b0)', 'Try::Tiny::Catch=REF(0x55af8b97aaf0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55af8b701590)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55af8b7564c0)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55af8a26b9c8)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55af8b50dce0)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55af8b5143e8)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55af8b983e18)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55af8b8b2958)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55af8157dfa8)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55af8a25f058)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55af8a24efc0)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55af8a24ee40)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55af80f9c558)', 'HASH(0x55af8b75ddb8)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x55af80f9c558)', 'Net::Server::Proto::UNIX=GLOB(0x55af8a0bc090)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55af80f9c558)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'port', 'ARRAY(0x55af81527f68)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/mksolutions/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'CODE(0x55af80f9c408)', 'HASH(0x55af80f9c1b0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55af80f9c420)', 'CODE(0x55af80f9c408)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55af80ce9ff8)', 'Plack::Handler::Starman=HASH(0x55af80f9c420)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55af80c86e18)') called at /usr/bin/starman line 38 Could not mkdir /tmp/cgi_compile_86240: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55af81623c70)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_opac_2dmain_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/opac-main.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Parts Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_html_with_http_headers );^Juse Koha::Quotes;^Juse C4::Members;^Juse C4::Overdues qw( checkoverdues );^Juse Koha::Checkouts;^Juse Koha::Holds;^Juse Koha::AdditionalContents;^Juse Koha::Patron::Messages;^J^Jmy $input = CGI->new;^Jmy $dbh = C4::Context->dbh;^J^Jmy ( $template, $borrowernumber, $cookie ) = get_template_and_user(^J {^J template_name => "opac-main.tt",^J type => "opac",^J query => $input,^J authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),^J }^J);^J^Jmy $casAuthentication = C4::Context->preference(\'casAuthentication\');^J$template->param(^J casAuthentication => $casAuthentication,^J);^J^Jmy $homebranch = $ENV{OPAC_BRANCH_DEFAULT};^Jif (C4::Context->userenv) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jif (defined $input->param(\'branch\') and length $input->param(\'branch\')) {^J $homebranch = $input->param(\'branch\');^J}^Jelsif (C4::Context->userenv and defined $input->param(\'branch\') and length $input->param(\'branch\') == 0 ){^J $homebranch = "";^J}^J^Jmy $news_id = $input->param(\'news_id\');^Jmy $koha_news;^J^Jif (defined $news_id){^J $koha_news = Koha::AdditionalContents->search({ idnew => $news_id, location => [\'opac_only\', \'staff_and_opac\'] }); # get news that is not staff-only news^J if ( $koha_news->count > 0){^J $template->param( news_item => $koha_news->next );^J } else {^J $template->param( single_news_error => 1 );^J }^J} else {^J $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [\'opac_only\', \'staff_and_opac\'],^J lang => $template->lang,^J library_id => $homebranch,^J }^J );^J}^J^J# For dashboard^Jmy $patron = Koha::Patrons->find( $borrowernumber );^J^Jif ( $patron ) {^J my $checkouts = Koha::Checkouts->search({ borrowernumber => $borrowernumber })->count;^J my ( $overdues_count, $overdues ) = checkoverdues($borrowernumber);^J my $holds_pending = Koha::Holds->search({ borrowernumber => $borrowernumber, found => undef })->count;^J my $holds_waiting = Koha::Holds->search({ borrowernumber => $borrowernumber })->waiting->count;^J my $patron_messages = Koha::Patron::Messages->search(^J {^J borrowernumber => $borrowernumber,^J message_type => \'B\',^J });^J my $patron_note = $patron->opacnote;^J my $total = $patron->account->balance;^J my $saving_display = C4::Context->preference(\'OPACShowSavings\');^J my $savings = 0;^J if ( $saving_display =~ /summary/ ) {^J $savings = $patron->get_savings;^J }^J if ( $checkouts > 0 || $overdues_count > 0 || $holds_pending > 0 || $holds_waiting > 0 || $total > 0 || $patron_note || $patron_messages->count || $savings > 0 ) {^J $template->param(^J dashboard_info => 1,^J checkouts => $checkouts,^J overdues => $overdues_count,^J holds_pending => $holds_pending,^J holds_waiting => $holds_waiting,^J total_owing => $total,^J patron_messages => $patron_messages,^J opacnote => $patron_note,^J savings => $savings,^J );^J }^J}^J^J$template->param(^J koha_news => $koha_news,^J branchcode => $homebranch,^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Joutput_html_with_http_headers $input, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55af8b5268c8)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55af8b5268c8)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55af8a261688)', 'HASH(0x55af8b580860)', '/kohadevbox/koha/opac/opac-main.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55af8a261688)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55af8b5042f0)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55af8b531de8)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55af8b5352f8)', 'Try::Tiny::Catch=REF(0x55af8b52f3b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55af8b531c38)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55af8b531680)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55af8a26a410)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55af8b531a70)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55af8b4b1890)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55af8b531188)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55af8b52f110)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55af8157dfa8)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55af8a262390)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55af8a2513f8)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8b580860)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55af8a251308)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55af80f9c558)', 'HASH(0x55af8b580860)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x55af80f9c558)', 'Net::Server::Proto::UNIX=GLOB(0x55af8a0be2c8)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55af80f9c558)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'port', 'ARRAY(0x55af81527f68)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/mksolutions/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'CODE(0x55af80f9c408)', 'HASH(0x55af80f9c1b0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55af80f9c420)', 'CODE(0x55af80f9c408)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55af80ce9ff8)', 'Plack::Handler::Starman=HASH(0x55af80f9c420)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55af80c86e18)') called at /usr/bin/starman line 38 Could not mkdir /tmp/cgi_compile_86239: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55af8b6279a0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy $admin = C4::Context->preference(\'KohaAdminEmailAddress\');^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param (^J admin => $admin,^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55af8ba6bc40)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55af8ba6bc40)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55af8157e248)', 'HASH(0x55af8a26bef0)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55af8157e248)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55af8b4cc038)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55af8b99e7f0)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55af8baf6b48)', 'Try::Tiny::Catch=REF(0x55af8b9af4e8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55af8b701590)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55af8b7564c0)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55af8a26b9c8)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55af8b50dce0)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55af8b5143e8)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55af8b983e18)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55af8b8b2958)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55af8157dfa8)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55af8a25f058)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55af8a24efc0)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26bef0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55af8a24ee40)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55af80f9c558)', 'HASH(0x55af8a26bef0)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x55af80f9c558)', 'Net::Server::Proto::UNIX=GLOB(0x55af8a26b248)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55af80f9c558)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'port', 'ARRAY(0x55af81527f68)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/mksolutions/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'CODE(0x55af80f9c408)', 'HASH(0x55af80f9c1b0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55af80f9c420)', 'CODE(0x55af80f9c408)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55af80ce9ff8)', 'Plack::Handler::Starman=HASH(0x55af80f9c420)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55af80c86e18)') called at /usr/bin/starman line 38 Could not mkdir /tmp/cgi_compile_86240: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55af8b5265f8)', 'package CGI::Compile::ROOT::kohadevbox_koha_opac_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/opac/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy $admin = C4::Context->preference(\'KohaAdminEmailAddress\');^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => "errors/errorpage.tt",^J query => $query,^J type => "opac",^J authnotrequired => 1,^J }^J);^J$template->param (^J admin => $admin,^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x55af8bb7e828)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x55af8bb7e828)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x55af8a261688)', 'HASH(0x55af8a26a6f8)', '/kohadevbox/koha/opac/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x55af8a261688)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x55af8b5042f0)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x55af8b531de8)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x55af8b529c00)', 'Try::Tiny::Catch=REF(0x55af8b43d288)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x55af8b531c38)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x55af8b531680)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x55af8a26a410)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x55af8b531a70)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x55af8b4b1890)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x55af8b531188)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x55af8b52f110)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x55af8157dfa8)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x55af8a262390)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55af8a2513f8)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x55af8a251308)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x55af80f9c558)', 'HASH(0x55af8a26a6f8)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x55af80f9c558)', 'Net::Server::Proto::UNIX=GLOB(0x55af8a269b40)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55af80f9c558)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x55af80f9c558)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'port', 'ARRAY(0x55af81527f68)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'background', 1, 'setsid', 1, 'log_file', '/var/log/koha/mksolutions/plack-error.log') called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x55af80f9c558)', 'CODE(0x55af80f9c408)', 'HASH(0x55af80f9c1b0)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55af80f9c420)', 'CODE(0x55af80f9c408)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x55af80ce9ff8)', 'Plack::Handler::Starman=HASH(0x55af80f9c420)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x55af80c86e18)') called at /usr/bin/starman line 38 Could not mkdir /tmp/cgi_compile_86239: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x55af8b999488)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W2024/02/18-20:27:31 Received QUIT. Running a graceful shutdown Sending children hup signal 2024/02/18-20:27:31 Worker processes cleaned up 2024/02/18-20:27:31 Server closing! Process Backgrounded 2024/02/18-20:27:32 Starman::Server (type Net::Server::PreFork) starting! pid(85516) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ Could not mkdir /tmp/cgi_compile_85531: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5628c82a0eb0)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^Juse Koha::Token;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( \'FA\' );^J^Jmy $homebranch;^Jif (C4::Context->userenv) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J csrf_token => Koha::Token->new->generate_csrf( { session_id => $query->cookie(\'CGISESSID\'), } ),^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited({ approved => 0 })->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif( C4::Context->only_my_library ){^J my $local_pendingsuggestions_count = Koha::Suggestions->search({ status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'} })->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search({ status => "ASKED" });^J my $local_pendingsuggestions_count = $pendingsuggestions->search({ \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} })->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count ? $pendingsuggestions_count : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count( $branch );^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 });^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search({ status => \'New\' });^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param(^J pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs = Koha::BackgroundJobs->search(^J { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5628cfd755d0)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5628cfd755d0)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5628c81fbb88)', 'HASH(0x5628cfdf1d40)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5628c81fbb88)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5628cfd6d8e0)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5628cfd6d460)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5628cfd70e48)', 'Try::Tiny::Catch=REF(0x5628cfd70a88)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5628cfd6d550)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5628cfd6db38)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5628ceaef1f8)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5628cfd6b788)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5628cfd51cc0)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5628cfd6d1c0)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5628cfd6df40)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5628c81fb918)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5628ceade5c8)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5628cead47e0)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5628cead46f0)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5628c7c170a8)', 'HASH(0x5628cfdf1d40)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x5628c7c170a8)', 'Net::Server::Proto::UNIX=GLOB(0x5628ce93ddb0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5628c7c170a8)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5628c7c170a8)', 'port', 'ARRAY(0x5628c81a5cd8)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'log_file', '/var/log/koha/mksolutions/plack-error.log', 'background', 1, 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5628c7c170a8)', 'CODE(0x5628c7c16f58)', 'HASH(0x5628c7c16d00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5628c7c16f70)', 'CODE(0x5628c7c16f58)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5628c79642f8)', 'Plack::Handler::Starman=HASH(0x5628c7c16f70)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5628c7901768)') called at /usr/bin/starman line 38 Could not mkdir /tmp/cgi_compile_85530: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5628c82a0d10)', 'package CGI::Compile::ROOT::kohadevbox_koha_mainpage_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/mainpage.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Copyright Paul Poulain 2002^J# Parts Copyright Liblime 2007^J# Copyright (C) 2013 Mark Tompsett^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Output qw( output_html_with_http_headers );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Koha;^Juse C4::Tags qw( get_count_by_tag_status );^Juse Koha::AdditionalContents;^Juse Koha::Patron::Modifications;^Juse Koha::Patron::Discharge;^Juse Koha::Reviews;^Juse Koha::ArticleRequests;^Juse Koha::BiblioFrameworks;^Juse Koha::ProblemReports;^Juse Koha::Quotes;^Juse Koha::Suggestions;^Juse Koha::BackgroundJobs;^Juse Koha::CurbsidePickups;^Juse Koha::Tickets;^Juse Koha::Token;^J^Jmy $query = CGI->new;^J^Jmy ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user(^J {^J template_name => "intranet-main.tt",^J query => $query,^J type => "intranet",^J flagsrequired => { catalogue => 1, },^J }^J);^J^Jmy $logged_in_user = Koha::Patrons->find($loggedinuser);^J^J# Checking if there is a Fast Cataloging Framework^J$template->param( fast_cataloging => 1 ) if Koha::BiblioFrameworks->find( \'FA\' );^J^Jmy $homebranch;^Jif (C4::Context->userenv) {^J $homebranch = C4::Context->userenv->{\'branch\'};^J}^Jmy $koha_news = Koha::AdditionalContents->search_for_display(^J {^J category => \'news\',^J location => [ \'staff_only\', \'staff_and_opac\' ],^J lang => $template->lang,^J library_id => $homebranch^J }^J);^J^J$template->param(^J koha_news => $koha_news,^J csrf_token => Koha::Token->new->generate_csrf( { session_id => $query->cookie(\'CGISESSID\'), } ),^J daily_quote => Koha::Quotes->get_daily_quote(),^J);^J^Jmy $branch =^J ( C4::Context->preference("IndependentBranchesPatronModifications")^J || C4::Context->preference("IndependentBranches") )^J && !$flags->{\'superlibrarian\'}^J ? C4::Context->userenv()->{\'branch\'}^J : undef;^J^Jmy $pendingcomments = Koha::Reviews->search_limited({ approved => 0 })->count;^Jmy $pendingtags = get_count_by_tag_status(0);^J^J# Get current branch count and total viewable count, if they don\'t match then pass^J# both to template^J^Jif( C4::Context->only_my_library ){^J my $local_pendingsuggestions_count = Koha::Suggestions->search({ status => "ASKED", branchcode => C4::Context->userenv()->{\'branch\'} })->count();^J $template->param( pendingsuggestions => $local_pendingsuggestions_count );^J} else {^J my $pendingsuggestions = Koha::Suggestions->search({ status => "ASKED" });^J my $local_pendingsuggestions_count = $pendingsuggestions->search({ \'me.branchcode\' => C4::Context->userenv()->{\'branch\'} })->count();^J my $pendingsuggestions_count = $pendingsuggestions->count();^J $template->param(^J all_pendingsuggestions => $pendingsuggestions_count != $local_pendingsuggestions_count ? $pendingsuggestions_count : 0,^J pendingsuggestions => $local_pendingsuggestions_count^J );^J}^J^Jmy $pending_borrower_modifications = Koha::Patron::Modifications->pending_count( $branch );^Jmy $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 });^Jmy $pending_article_requests = Koha::ArticleRequests->search_limited(^J {^J status => Koha::ArticleRequest::Status::Requested,^J $branch ? ( \'me.branchcode\' => $branch ) : (),^J }^J)->count;^Jmy $pending_problem_reports = Koha::ProblemReports->search({ status => \'New\' });^J^Jif ( C4::Context->preference(\'OpacCatalogConcerns\') || C4::Context->preference(\'CatalogConcerns\') ) {^J my $pending_biblio_tickets = Koha::Tickets->search(^J {^J resolved_date => undef,^J biblio_id => { \'!=\' => undef }^J }^J );^J $template->param(^J pending_biblio_tickets => $pending_biblio_tickets->count );^J}^J^Junless ( $logged_in_user->has_permission( { parameters => \'manage_background_jobs\' } ) ) {^J my $already_ran_jobs = Koha::BackgroundJobs->search(^J { borrowernumber => $logged_in_user->borrowernumber } )->count ? 1 : 0;^J $template->param( already_ran_jobs => $already_ran_jobs );^J}^J^Jif ( C4::Context->preference(\'CurbsidePickup\') ) {^J $template->param(^J new_curbside_pickups => Koha::CurbsidePickups->search(^J {^J branchcode => $homebranch,^J }^J )->filter_by_to_be_staged->filter_by_scheduled_today,^J );^J}^J^J$template->param(^J pendingcomments => $pendingcomments,^J pendingtags => $pendingtags,^J pending_borrower_modifications => $pending_borrower_modifications,^J pending_discharge_requests => $pending_discharge_requests,^J pending_article_requests => $pending_article_requests,^J pending_problem_reports => $pending_problem_reports^J);^J^Joutput_html_with_http_headers $query, $cookie, $template->output;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5628cfea9c78)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5628cfea9c78)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5628c81fbbb8)', 'HASH(0x5628d03553b0)', '/kohadevbox/koha/mainpage.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5628c81fbbb8)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5628cfecdd58)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5628cfecdff8)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5628cfeac800)', 'Try::Tiny::Catch=REF(0x5628cfece490)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5628cfecdd28)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5628cfece910)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5628ceaef668)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5628cfece2f8)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5628cfe0dba0)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5628cfece9d0)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5628cfed0410)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5628c81fb918)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5628ceadecf8)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5628cead4e60)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628d03553b0)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5628cead4ce0)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5628c7c170a8)', 'HASH(0x5628d03553b0)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x5628c7c170a8)', 'Net::Server::Proto::UNIX=GLOB(0x5628ce93e080)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5628c7c170a8)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5628c7c170a8)', 'port', 'ARRAY(0x5628c81a5cd8)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'log_file', '/var/log/koha/mksolutions/plack-error.log', 'background', 1, 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5628c7c170a8)', 'CODE(0x5628c7c16f58)', 'HASH(0x5628c7c16d00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5628c7c16f70)', 'CODE(0x5628c7c16f58)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5628c79642f8)', 'Plack::Handler::Starman=HASH(0x5628c7c16f70)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5628c7901768)') called at /usr/bin/starman line 38 Could not mkdir /tmp/cgi_compile_85531: No space left on device at /usr/share/perl5/CGI/Compile.pm line 195 CGI::Compile::_eval('CGI::Compile=HASH(0x5628cfd756f0)', 'package CGI::Compile::ROOT::kohadevbox_koha_errors_404_2epl;sub {local $CGI::Compile::USE_REAL_EXIT = 0;^JCGI::initialize_globals() if defined &CGI::initialize_globals;local ($0, $CGI::Compile::_dir, *DATA);{ my ($data, $path, $dir) = @_[1..3];$0 = $path;$CGI::Compile::_dir = File::pushd::pushd $dir;open DATA, \'<\', \$data;}local @SIG{keys %SIG} = do { no warnings \'uninitialized\'; @{[]} = values %SIG };local $^W = 0;my $rv = eval {local @ARGV = @{ $_[4] };local @_ = @{ $_[4] };^J#line 1 /kohadevbox/koha/errors/404.pl^J#!/usr/bin/perl^J^J# This file is part of Koha.^J#^J# Koha is free software; you can redistribute it and/or modify it^J# under the terms of the GNU General Public License as published by^J# the Free Software Foundation; either version 3 of the License, or^J# (at your option) any later version.^J#^J# Koha is distributed in the hope that it will be useful, but^J# WITHOUT ANY WARRANTY; without even the implied warranty of^J# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the^J# GNU General Public License for more details.^J#^J# You should have received a copy of the GNU General Public License^J# along with Koha; if not, see .^J^J^Juse Modern::Perl;^Juse CGI qw ( -utf8 );^Juse C4::Auth qw( get_template_and_user );^Juse C4::Output qw( output_with_http_headers );^Juse C4::Context;^Juse List::MoreUtils qw( any );^J^Jmy $query = CGI->new;^Jmy $admin = C4::Context->preference(\'KohaAdminEmailAddress\');^Jmy ( $template, $loggedinuser, $cookie ) = get_template_and_user(^J {^J template_name => \'errors/errorpage.tt\',^J query => $query,^J type => \'intranet\',^J authnotrequired => 1,^J }^J);^J$template->param (^J admin => $admin,^J errno => 404,^J);^Jmy $status = \'404 Not Found\';^Jif ( C4::Context->is_internal_PSGI_request() ) {^J $status = \'200 OK\';^J}^Joutput_with_http_headers $query, $cookie, $template->output, \'html\', $status;^J^J};^J {^J no warnings qw(uninitialized numeric pack);^J my $self = shift;^J my $exit_val = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $rv)));^J if ($@) {^J die $@ unless (^J ref($@) eq \'ARRAY\' and^J $@->[0] eq "EXIT\n"^J );^J my $exit_param = unpack(\'C\', pack(\'C\', sprintf(\'%.0f\', $@->[1])));^J^J if ($exit_param != 0 && !$CGI::Compile::RETURN_EXIT_VAL && !$self->{return_exit_val}) {^J die "exited nonzero: $exit_param";^J }^J^J $exit_val = $exit_param;^J }^J^J return $exit_val;^J }^J };') called at /usr/share/perl5/CGI/Compile.pm line 141 CGI::Compile::compile('CGI::Compile', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/WrapCGI.pm line 86 Plack::App::WrapCGI::prepare_app('Plack::App::WrapCGI=HASH(0x5628cfaf5478)') called at /usr/share/perl5/Plack/Component.pm line 49 Plack::Component::to_app('Plack::App::WrapCGI=HASH(0x5628cfaf5478)') called at /usr/share/perl5/Plack/App/CGIBin.pm line 47 Plack::App::CGIBin::serve_path('Plack::App::CGIBin=HASH(0x5628c81fbb88)', 'HASH(0x5628c81fb960)', '/kohadevbox/koha/errors/404.pl') called at /usr/share/perl5/Plack/App/File.pm line 34 Plack::App::File::call('Plack::App::CGIBin=HASH(0x5628c81fbb88)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/LogWarn.pm line 22 Plack::Middleware::LogWarn::call('Plack::Middleware::LogWarn=HASH(0x5628cfd6d8e0)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/Log4perl.pm line 30 Plack::Middleware::Log4perl::call('Plack::Middleware::Log4perl=HASH(0x5628cfd6d460)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 20 Plack::Middleware::HTTPExceptions::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Try::Tiny::try('CODE(0x5628cfedc5b8)', 'Try::Tiny::Catch=REF(0x5628cfef1750)') called at /usr/share/perl5/Plack/Middleware/HTTPExceptions.pm line 23 Plack::Middleware::HTTPExceptions::call('Plack::Middleware::HTTPExceptions=HASH(0x5628cfd6d550)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/ErrorDocument.pm line 15 Plack::Middleware::ErrorDocument::call('Plack::Middleware::ErrorDocument=HASH(0x5628cfd6db38)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/App/URLMap.pm line 71 Plack::App::URLMap::call('Plack::App::URLMap=HASH(0x5628ceaef1f8)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /kohadevbox/koha/Koha/Middleware/RealIP.pm line 64 Koha::Middleware::RealIP::call('Koha::Middleware::RealIP=HASH(0x5628cfd6b788)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /kohadevbox/koha/Koha/Middleware/SetEnv.pm line 106 Koha::Middleware::SetEnv::call('Koha::Middleware::SetEnv=HASH(0x5628cfd51cc0)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/Static.pm line 18 Plack::Middleware::Static::call('Plack::Middleware::Static=HASH(0x5628cfd6d1c0)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/ReverseProxy.pm line 68 Plack::Middleware::ReverseProxy::call('Plack::Middleware::ReverseProxy=HASH(0x5628cfd6df40)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/Lint.pm line 24 Plack::Middleware::Lint::call('Plack::Middleware::Lint=HASH(0x5628c81fb918)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Middleware::StackTrace::try {...} at /usr/share/perl5/Try/Tiny.pm line 100 eval {...} at /usr/share/perl5/Try/Tiny.pm line 93 Plack::Middleware::StackTrace::call('Plack::Middleware::StackTrace=HASH(0x5628ceade5c8)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Middleware/AccessLog.pm line 27 Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x5628cead47e0)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Component.pm line 50 Plack::Component::__ANON__('HASH(0x5628c81fb960)') called at /usr/share/perl5/Plack/Util.pm line 145 eval {...} at /usr/share/perl5/Plack/Util.pm line 145 Plack::Util::run_app('CODE(0x5628cead46f0)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Starman/Server.pm line 195 Starman::Server::dispatch_request('Starman::Server=HASH(0x5628c7c170a8)', 'HASH(0x5628c81fb960)') called at /usr/share/perl5/Starman/Server.pm line 298 Starman::Server::process_request('Starman::Server=HASH(0x5628c7c170a8)', 'Net::Server::Proto::UNIX=GLOB(0x5628ce9201d0)') called at /usr/share/perl5/Net/Server.pm line 72 Net::Server::run_client_connection('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 225 eval {...} at /usr/share/perl5/Net/Server/PreFork.pm line 225 Net::Server::PreFork::run_child('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 183 Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x5628c7c170a8)', 2) called at /usr/share/perl5/Net/Server/PreFork.pm line 107 Net::Server::PreFork::loop('Starman::Server=HASH(0x5628c7c170a8)') called at /usr/share/perl5/Net/Server.pm line 58 Net::Server::run('Starman::Server=HASH(0x5628c7c170a8)', 'port', 'ARRAY(0x5628c81a5cd8)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 2, 'min_spare_servers', 1, 'max_spare_servers', 1, 'max_servers', 2, 'max_requests', 50, 'user', 'mksolutions-koha', 'group', 'mksolutions-koha', 'listen', 1024, 'check_for_waiting', 1, 'no_client_stdout', 1, 'pid_file', '/var/run/koha/mksolutions/plack.pid', 'log_file', '/var/log/koha/mksolutions/plack-error.log', 'background', 1, 'setsid', 1) called at /usr/share/perl5/Starman/Server.pm line 106 Starman::Server::run('Starman::Server=HASH(0x5628c7c170a8)', 'CODE(0x5628c7c16f58)', 'HASH(0x5628c7c16d00)') called at /usr/share/perl5/Plack/Handler/Starman.pm line 25 Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x5628c7c16f70)', 'CODE(0x5628c7c16f58)') called at /usr/share/perl5/Plack/Loader/Delayed.pm line 20 Plack::Loader::Delayed::run('Plack::Loader::Delayed=HASH(0x5628c79642f8)', 'Plack::Handler::Starman=HASH(0x5628c7c16f70)') called at /usr/share/perl5/Plack/Runner.pm line 279 Plack::Runner::run('Plack::Runner=HASH(0x5628c7901768)') called at /usr/bin/starman line 38 2024/04/27-05:40:15 Received QUIT. Running a graceful shutdown Sending children hup signal 2024/04/27-05:40:15 Worker processes cleaned up 2024/04/27-05:40:15 Server closing! Process Backgrounded 2024/04/27-05:40:19 Starman::Server (type Net::Server::PreFork) starting! pid(33298) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2024/06/26-18:04:03 Received QUIT. Running a graceful shutdown Sending children hup signal 2024/06/26-18:04:03 Worker processes cleaned up 2024/06/26-18:04:03 Server closing! Process Backgrounded 2024/06/26-18:04:07 Starman::Server (type Net::Server::PreFork) starting! pid(28200) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2024/07/27-21:15:27 Received QUIT. Running a graceful shutdown Sending children hup signal 2024/07/27-21:15:29 Worker processes cleaned up 2024/07/27-21:15:29 Server closing! Process Backgrounded 2024/07/27-21:15:42 Starman::Server (type Net::Server::PreFork) starting! pid(78294) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2024/07/28-16:58:19 Received QUIT. Running a graceful shutdown Sending children hup signal 2024/07/28-16:58:19 Worker processes cleaned up 2024/07/28-16:58:19 Server closing! Process Backgrounded 2024/07/28-16:58:21 Starman::Server (type Net::Server::PreFork) starting! pid(128614) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2024/10/24-21:55:46 Received QUIT. Running a graceful shutdown Sending children hup signal 2024/10/24-21:55:46 Worker processes cleaned up 2024/10/24-21:55:46 Server closing! Process Backgrounded 2024/10/24-21:55:56 Starman::Server (type Net::Server::PreFork) starting! pid(92301) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2025/01/07-17:23:35 Received QUIT. Running a graceful shutdown Sending children hup signal 2025/01/07-17:23:35 Worker processes cleaned up 2025/01/07-17:23:35 Server closing! Process Backgrounded 2025/01/07-17:23:37 Starman::Server (type Net::Server::PreFork) starting! pid(33187) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/ 2025/01/08-18:38:41 Received QUIT. Running a graceful shutdown Sending children hup signal 2025/01/08-18:38:41 Worker processes cleaned up 2025/01/08-18:38:41 Server closing! Process Backgrounded 2025/01/08-18:38:42 Starman::Server (type Net::Server::PreFork) starting! pid(97387) Binding to UNIX socket file "/var/run/koha/mksolutions/plack.sock" Setting gid to "1000 1000" Setting uid to "1000" Starman: Accepting connections at unix://localhost:/var/run/koha/mksolutions/plack.sock/