Bug 20449 - Noise triggered by Archive::Extract during installation
Summary: Noise triggered by Archive::Extract during installation
Status: ASSIGNED
Alias: None
Product: Koha
Classification: Unclassified
Component: Installation and upgrade (web-based installer) (show other bugs)
Version: master
Hardware: All All
: P5 - low trivial (vote)
Assignee: Mark Tompsett
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-20 01:57 UTC by Mark Tompsett
Modified: 2023-10-01 23:41 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Tompsett 2018-03-20 01:57:26 UTC
2018/03/20-01:52:32 Starman::Server (type Net::Server::PreFork) starting! pid(26334)
Binding to UNIX socket file "/var/run/koha/kohadev/plack.sock"
Setting gid to "1001 1001"
Setting uid to "1001"
Database update needed, redirecting to Installer. Database is 17.1200020 and Koha is 17.1200021 at /home/vagrant/kohaclone/C4/Auth.pm line 721.
Could not dup 'STDIN': Invalid argument at /usr/share/perl5/Archive/Extract.pm line 152.
Could not restore 'STDIN': Invalid argument at /usr/share/perl5/Archive/Extract.pm line 152.

By upgrading to 0.80 of Archive::Extract, this problem went away.
Comment 1 Mark Tompsett 2018-03-20 02:04:34 UTC
Granted, I had to cpan2deb --core-ok in order to get 0.80 nicely, and post Perl 5.20, Archive::Extract is no longer a core module.

Archive::Tar and Archive::Tar::File are still core, but supposedly slower. However, since this is just used in plugin installation, I'm thinking switching to them if possible.
Comment 2 Mark Tompsett 2018-03-20 03:37:50 UTC
Nope. I'm thinking of sticking with Archive::Zip.
Comment 3 Katrin Fischer 2023-10-01 23:41:49 UTC
There is no clear test plan here, I am not sure how to replicate the reported behavior.