[Koha-devel] Installing Koha 16.x on Debian 8.5

Jonathan Druart jonathan.druart at bugs.koha-community.org
Sun Jun 19 13:53:24 CEST 2016


The command provided on the wiki page is
  sudo koha-mysql <instancename> < mybackup.sql

2016-06-19 12:00 GMT+01:00 MHE I.T. Admin (DRR) <admin at mhe-krg.org>:
> Thank you, I think 80 is taken by Plesk but I will try,
>
> I try to import any of this way but I get error all the time
>
> root at koyauniversity ~ # mysql koha_library < koha_library_old3.10
> ERROR 1142 (42000) at line 55: SELECT command denied to user
> 'root'@'localhost' for table 'accountlines'
> root at koyauniversity ~ # mysql -u koha_library -p koha_library <
> koha_library_old3.10
> Enter password:
> ERROR 1045 (28000): Access denied for user 'koha_library'@'localhost' (using
> password: YES)
> root at koyauniversity ~ # mysql -u root -p koha_library < koha_library_old3.10
> Enter password:
> ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: YES)
> root at koyauniversity ~ # mysql -u koha.admin -p koha_library <
> koha_library_old3.10
> Enter password:
> ERROR 1045 (28000): Access denied for user 'koha.admin'@'localhost' (using
> password: YES)
> root at koyauniversity ~ #
>
>
> On 19 June 2016 at 11:36, Jonathan Druart
> <jonathan.druart at bugs.koha-community.org> wrote:
>>
>> Please answer to the list.
>>
>> 2016-06-19 10:41 GMT+01:00 MHE I.T. Admin (DRR) <admin at mhe-krg.org>:
>> > I have now managed to install the Koha 16.05, but still have issue to
>> > get
>> > the web-domain work properly
>> >
>> > With IP works fine
>> > http://88.198.51.202:8080/
>> >
>> > White domain I still have to have the sufix 8080 to get the site to
>> > appear
>> >
>> > http://library.koyauniversity.org:8080/
>> > http://libraryadmin.koyauniversity.org:8080/
>> >
>> > Whilst I want this to appear as
>> > http://library.koyauniversity.org
>> > http://libraryadmin.koyauniversity.org
>>
>> Use port 80 instead of 8080
>>
>> > Now we need to import the database from our previous version Koha 3.10
>> > to
>> > this new installation. Shall I just delete the new database and import
>> > the
>> > old one please?
>>
>> Yes, the procedure is described on the this wiki page:
>>
>> https://wiki.koha-community.org/wiki/Moving_an_installation_from_a_regular_install_to_the_Debian_packages
>>
>> Regards,
>> Jonathan
>>
>> > On 18 June 2016 at 22:13, MHE I.T. Admin (DRR) <admin at mhe-krg.org>
>> > wrote:
>> >>
>> >> It keep giving me
>> >>
>> >>  # deluser library-koha
>> >> Removing user `library-koha' ...
>> >> Warning: group `library-koha' has no more members.
>> >> userdel: user library-koha is currently used by process 933
>> >> /usr/sbin/deluser: `/usr/sbin/userdel library-koha' returned error code
>> >> 8.
>> >> Exiting.
>> >>
>> >> Is it possible for you to kindly look at for me please? It drive me
>> >> crazy
>> >> and I can not get it work. Our library website is has been down for a
>> >> week
>> >> now, We thought it will be easy to to update the server and reinstate
>> >> the
>> >> site.
>> >>
>> >>
>> >> On 18 June 2016 at 16:22, Jonathan Druart
>> >> <jonathan.druart at bugs.koha-community.org> wrote:
>> >>>
>> >>> Try to remove the user:
>> >>>   deluser library-koha
>> >>>
>> >>> Regards,
>> >>> Jonathan
>> >>>
>> >>> 2016-06-18 15:59 GMT+01:00 MHE I.T. Admin (DRR) <admin at mhe-krg.org>:
>> >>> > I am trying to reinstate our library after upgrading server to
>> >>> > Debian
>> >>> > 8.5
>> >>> > with Plesk 12.5 panel,
>> >>> >
>> >>> > I follow the instruction provided here
>> >>> >
>> >>> > https://wiki.koha-community.org/wiki/Koha_on_Debian
>> >>> >
>> >>> > I have done the steps, but
>> >>> >
>> >>> > Install the Database
>> >>> >
>> >>> > If you are planning to run MySQL on the same server that Koha is on,
>> >>> > then
>> >>> > run:
>> >>> >
>> >>> >  $ sudo apt-get install mysql-server
>> >>> >
>> >>> >
>> >>> > I am assuming that we have already have mySQL server so I do not
>> >>> > need
>> >>> > this.
>> >>> >
>> >>> > When I run this
>> >>> >
>> >>> > # sudo koha-create --create-db library
>> >>> >
>> >>> > I get
>> >>> >
>> >>> > User library-koha already exists.
>> >>> >
>> >>> > I have not created user yet and this is a fresh install.
>> >>> >
>> >>> > I do not see /etc/apache2/sites-enabled/library.conf
>> >>> > and I do not see
>> >>> >
>> >>> > /etc/koha/sites/library/koha-conf.xml
>> >>> >
>> >>> > Is there any solution to this please? How can I totally remove Koha
>> >>> > and
>> >>> > do a
>> >>> > fresh start?
>> >>> >
>> >>> >
>> >>> > _______________________________________________
>> >>> > Koha-devel mailing list
>> >>> > Koha-devel at lists.koha-community.org
>> >>> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> >>> > website : http://www.koha-community.org/
>> >>> > git : http://git.koha-community.org/
>> >>> > bugs : http://bugs.koha-community.org/
>> >>> _______________________________________________
>> >>> Koha-devel mailing list
>> >>> Koha-devel at lists.koha-community.org
>> >>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> >>> website : http://www.koha-community.org/
>> >>> git : http://git.koha-community.org/
>> >>> bugs : http://bugs.koha-community.org/
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> I.T Admin (Dr. D.R. Roshani)
>> >> Ministry of Higher Education
>> >> T. +964.XXX.XXX XXX | E. admin at mhe-krg.org
>> >
>> >
>> >
>> >
>> > --
>> >
>> > I.T Admin (Dr. D.R. Roshani)
>> > Ministry of Higher Education
>> > T. +964.XXX.XXX XXX | E. admin at mhe-krg.org
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website : http://www.koha-community.org/
>> git : http://git.koha-community.org/
>> bugs : http://bugs.koha-community.org/
>
>
>
>
> --
>
> I.T Admin (Dr. D.R. Roshani)
> Ministry of Higher Education
> T. +964.XXX.XXX XXX | E. admin at mhe-krg.org


More information about the Koha-devel mailing list