[Koha-bugs] [Bug 11000] koha-restore not working: Koha username error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 28 15:58:27 CEST 2016


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

--- Comment #2 from Karam Qubsi <karamqubsi at gmail.com> ---
Hi , I faced the same problem today as described by Pablo AB

I'm using ubuntu 14.04 LTS , 

I encountered with the problem first with koha 16.05.00 package installation  ,
them I upgraded to koha 16.05.01  (also package ) , and the same problem , 

I tried to restore the instance in other server with the same condition and the
same problem is there , 

sudo koha-restore myInstanceName-2016-06-28.sql.gz
myInstanceName-2016-06-28.tar.gz
ERROR: File exists: /var/lib/koha/myInstanceName/
ERROR: File exists: /var/lib/koha/myInstanceName/biblios/
ERROR: File exists: /var/lib/koha/myInstanceName/biblios/key/
ERROR: File exists: /var/lib/koha/myInstanceName/biblios/register/
ERROR: File exists: /var/lib/koha/myInstanceName/biblios/tmp/
ERROR: File exists: /var/lib/koha/myInstanceName/biblios/shadow/
ERROR: File exists: /var/lib/koha/myInstanceName/uploads/
ERROR: File exists: /var/lib/koha/myInstanceName/authorities/
ERROR: File exists: /var/lib/koha/myInstanceName/authorities/key/
ERROR: File exists: /var/lib/koha/myInstanceName/authorities/register/
ERROR: File exists: /var/lib/koha/myInstanceName/authorities/tmp/
ERROR: File exists: /var/lib/koha/myInstanceName/authorities/shadow/
ERROR: File exists: /var/lib/koha/myInstanceName/plugins/
ERROR 1396 (HY000) at line 1: Operation DROP USER failed for
'koha_myInstanceName'@'%'
ERROR 1046 (3D000) at line 2: No database selected
Warning: You passed -x which is already the default and is now deprecated·
DBI
connect('database=koha_myInstanceName;host=localhost;port=3306','koha_myInstanceName',...)
failed: Access denied for user 'koha_myInstanceName'@'%' to database
'koha_myInstanceName' at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1395.
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Access denied
for user 'koha_myInstanceName'@'%' to database 'koha_myInstanceName' at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1398. at
/usr/share/koha/lib/Koha/Database.pm line 90
Something went wrong rebuilding biblio indexes for myInstanceName
DBI
connect('database=koha_myInstanceName;host=localhost;port=3306','koha_myInstanceName',...)
failed: Access denied for user 'koha_myInstanceName'@'%' to database
'koha_myInstanceName' at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1395.
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Access denied
for user 'koha_myInstanceName'@'%' to database 'koha_myInstanceName' at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1398. at
/usr/share/koha/lib/Koha/Database.pm line 90
Something went wrong rebuilding authority indexes for myInstanceName
 * Restarting web server apache2                                               
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1. Set the 'ServerName' directive globally to
suppress this message
                                                                         [ OK ]
karam at ubuntu-1gb-lon1-USIM:~/myInstanceName2$ sudo koha-remove myInstanceName
Removing Koha instance myInstanceName
Zebra already stopped for instance myInstanceName.
 * Restarting web server apache2                                               
AH00558: apache2: Could not reliably determine the server's fully qualified
domain name, using 127.0.1.1. Set the 'ServerName' directive globally to
suppress this message

-- 
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