[Koha-bugs] [Bug 21769] New: koha-restore file-exists

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 6 10:27:47 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21769

            Bug ID: 21769
           Summary: koha-restore file-exists
 Change sponsored?: ---
           Product: Koha
           Version: 16.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: Heinrich.Hartl at email.de
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

I have two virtual servers. vm-prod is running the production, vm-dev was
created long ago as clone from vm-prod. Update procedures are always first
tried using vm-dev and only then applied to vm-prod. So there is a lot of
similarity between these two vm's. vm-prod and vm-dev are ubuntu 14.4 LTS, koha
16.11.
I did 

hhl at koha-VM-dev:~ >
sudo koha-remove library
[sudo] password for hhl:
Removing Koha instance library
Stopping Zebra server for library
* Stopping Koha indexing daemon for library [ OK ]
* Restarting web server apache2 [ OK ]

sudo koha-restore library-2018-10-25.sql.gz library-2018-10-25.tar.gz
hhl at koha-VM-dev:~ >
 sudo koha-restore        library-2018-10-25.sql.gz      
library-2018-10-25.tar.gz
[sudo] password for hhl:
ERROR: File exists: /var/lib/koha/library/
ERROR: File exists: /var/lib/koha/library/authorities/
ERROR: File exists: /var/lib/koha/library/authorities/register/
ERROR: File exists: /var/lib/koha/library/authorities/key/
ERROR: File exists: /var/lib/koha/library/authorities/tmp/
ERROR: File exists: /var/lib/koha/library/authorities/shadow/
ERROR: File exists: /var/lib/koha/library/biblios/
ERROR: File exists: /var/lib/koha/library/biblios/register/
ERROR: File exists: /var/lib/koha/library/biblios/register/sort100-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/dict-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort23-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/recdA-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort29-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/isambC-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort143-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort58-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort40-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/isambD-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort19-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/isambA-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort68-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/recdB-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort139-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort44-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/isambB-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort6-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/reci-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort11-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/gmatch-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort94-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort36-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/register/sort202-0.mf
ERROR: File exists: /var/lib/koha/library/biblios/key/
ERROR: File exists: /var/lib/koha/library/biblios/tmp/
ERROR: File exists: /var/lib/koha/library/biblios/shadow/
ERROR: File exists: /var/lib/koha/library/plugins/
ERROR: File exists: /var/lib/koha/library/uploads/
ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'koha_library'@'%'
Warning: You passed -x which is already the default and is now deprecated
item-level_itypes set but no itemtype set for item (64339) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64342) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64334) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64344) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64348) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64343) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (65556) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64341) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64352) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64892) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (65581) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64337) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64338) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (64596) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
item-level_itypes set but no itemtype set for item (61258) at
/usr/share/koha/lib/Koha/Schema/Result/Item.pm line 698.
 * Restarting web server apache2                                               
 [Fri Nov 02 15:16:48.516017 2018] [core:warn] [pid 19897] AH00111: Config
variable ${instance} is not defined
[Fri Nov 02 15:16:48.516171 2018] [core:warn] [pid 19897] AH00111: Config
variable ${instance} is not defined
[ OK ]
hhl at koha-VM-dev:~ >

I am confused - an error should stop a procedure
I am pleased - the koha instance on vm-dev subsequently was running, a few
simple tests succeeded
I am afraid - there may be some serious malfunction not to be detected easily

Where can a find an explanation for above messages?
Are there activities required to resolve problems?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list