IRC log for #koha, 2025-02-12

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:07 mbridge joined #koha
01:00 alohabot` joined #koha
01:07 mbridge joined #koha
02:07 mbridge joined #koha
03:07 mbridge joined #koha
04:07 mbridge joined #koha
05:07 mbridge joined #koha
06:07 mbridge joined #koha
07:00 thibaud_g joined #koha
07:07 mbridge joined #koha
07:20 reiveune joined #koha
07:40 alex_a joined #koha
07:47 thibaud_g joined #koha
08:04 lds joined #koha
08:07 mbridge joined #koha
09:07 mbridge joined #koha
09:10 alohabot` joined #koha
09:17 paul_p joined #koha
10:07 mbridge joined #koha
10:24 thibaud_g joined #koha
11:07 mbridge joined #koha
11:35 mbridge [mattermost] <smoeast-library> So I used an azure snapshot and it worked, I did the command that you told me to and the output is this:
11:35 [mattermost] <smoeast-library> LibraryUser@KohaServer:~$ ls -al /var/lib/koha/library1/plugins
11:35 [mattermost] <smoeast-library> total 8
11:35 [mattermost] <smoeast-library> drwxrwxr-x 2 www-data      www-data      4096 Jan 16 22:49 .
11:35 [mattermost] <smoeast-library> drwxrwxr-x 7 library1-koha library1-koha 4096 Feb 11 14:24 ..
11:36 [mattermost] <jpahd> That looks correct.
11:36 [mattermost] <jpahd> Did you already restore your database?
11:38 [mattermost] <smoeast-library> What do you mean database?
11:38 [mattermost] <smoeast-library> I restored it via Azure since they take snapshots every few hours
11:42 [mattermost] <jpahd> Yeah, no worries.
11:42 [mattermost] <jpahd> Does installing plugins still not work?
11:42 [mattermost] <smoeast-library> It does not work, I still get this error:
11:42 [mattermost] <smoeast-library> Cannot unpack file to the plugins directory.
11:42 [mattermost] <smoeast-library> Please verify that the Apache user can write to the plugins directory.
11:43 [mattermost] <jpahd> Then chown the plugins dir to library1-koha
11:43 [mattermost] <jpahd> I didn't read your output correctly.
11:43 [mattermost] <smoeast-library> What do you mean?
11:45 [mattermost] <jpahd> `chown library1-koha: /var/lib/koha/library1/plugins`
11:45 thibaud_g joined #koha
11:45 mbridge [mattermost] <jpahd> Then restart everything an try to install again.
11:45 [mattermost] <smoeast-library> Ok
11:46 [mattermost] <jpahd> By install I mean a plugin.
11:47 [mattermost] <smoeast-library> Does this look right? : https://chat.koha-community.or[…]0krmn8jsuCSEnGbuw
11:48 [mattermost] <jpahd> Yes
11:48 [mattermost] <jpahd> Just try using the plugin.
11:48 [mattermost] <smoeast-library> Yeah, it works
11:49 [mattermost] <jpahd> Praise the Lord :D
11:52 [mattermost] <smoeast-library> Not as impoortant but, the logo looks like this, hwo do I change it? : https://chat.koha-community.or[…]olJ0e6-zzv8CWqXr4
11:53 [mattermost] <jpahd> Not sure, but maybe this is also related to permissions.
11:53 [mattermost] <jpahd> File permissions.
11:54 [mattermost] <smoeast-library> But the favicon looks right.
11:54 [mattermost] <jpahd> Try this:
11:54 [mattermost] <jpahd> `find / -name picto-koha.svg`
11:55 [mattermost] <jpahd> Then check the permissions of that file w/ `ls -al <path>`
11:55 [mattermost] <jpahd> If you run into more issues, you maybe messed up the permissions to badly and need to really reinstall.
11:56 [mattermost] <smoeast-library> Ok,
11:56 [mattermost] <smoeast-library> root@KohaServer:/home/LibraryUser# ls -al /usr/share/koha/intranet/htdocs/int​ranet-tmpl/prog/img/picto-koha.svg
11:56 [mattermost] <smoeast-library> -rwxr-xr-x 1 www-data www-data 11025056 Jan 21 13:33 /usr/share/koha/intranet/htdocs/int​ranet-tmpl/prog/img/picto-koha.svg
11:57 [mattermost] <jpahd> Yeah, this should also be owned by the instance user.
11:57 [mattermost] <jpahd> I would recommend to backup your config files, your database state and then reinstall.
11:58 [mattermost] <jpahd> Fixing this by hand is probably too much work.
12:00 [mattermost] <smoeast-library> How would I back it up? and what instructions do I follow? when  I was installing it, the instructions on the website did not make sense because i kept getting errors but when I used perplexity this happened.
12:00 [mattermost] <smoeast-library> Or is there a way to just give the user that needs the permissions acess to the whole drive?
12:00 [mattermost] <jpahd> I wouldn't do that.
12:00 [mattermost] <smoeast-library> Is it because of security?
12:01 [mattermost] <jpahd> Nah, just a blanket change on whole directories can have unforseen consequences.
12:01 [mattermost] <smoeast-library> So how would I back it up and reinstall?
12:01 [mattermost] <jpahd> That depends on what you already configured.
12:02 [mattermost] <smoeast-library> What do you mean?
12:02 [mattermost] <jpahd> I guess, the apache files, koha-conf.xml and additionally the db backup for the preference values you've already set.
12:03 [mattermost] <jpahd> Installing itself and then reapplying the config is much faster and will give you a functioning system.
12:03 [mattermost] <jpahd> Be not afraid :D
12:04 [mattermost] <smoeast-library> If there was an updater that had to be installed, would that make it fix it by itself?
12:04 [mattermost] <jpahd> No
12:04 [mattermost] <jpahd> There's no easy way out anymore.
12:04 [mattermost] <smoeast-library> So I am going to have to do it eventually.
12:04 [mattermost] <jpahd> Yeah
12:04 [mattermost] <jpahd> You've done it once already.
12:06 [mattermost] <smoeast-library> So, what are my first steps in doing this?
12:07 mbridge joined #koha
12:08 mbridge [mattermost] <jpahd> You probably followed [Koha on Debian](https://wiki.koha-community.or[…]i/Koha_on_Debian), right?
12:09 [mattermost] <jpahd> Basically, the backup the config files that you actually touched.
12:09 [mattermost] <jpahd> For example koha-conf.xml or the site configs in /etc/apache2/sites-available/library1.conf
12:09 [mattermost] <smoeast-library> This?
12:09 [mattermost] <smoeast-library> https://wiki.koha-community.or[…]m_Preferences_RFC
12:10 [mattermost] <jpahd> No, I linked it above.
12:11 [mattermost] <smoeast-library> I followed this because most of the commands ended upm in errors and it was pretty straightforward:
12:11 [mattermost] <smoeast-library> [Koha-Install](https://www.chirags.in/index.p[…]-step-step-guide)
12:12 [mattermost] <jpahd> That gives me a 404.
12:12 [mattermost] <jpahd> Anyway, please just follow what I linked above. If you run into errors again, just ask here.
12:12 [mattermost] <jpahd> Here's the link again: https://wiki.koha-community.or[…]ki/Koha_on_Debian
12:13 [mattermost] <jpahd> You can of course also use Ubuntu.
12:13 [mattermost] <smoeast-library> So do I have to back anything up?
12:14 [mattermost] <jpahd> Well, just the config files you made changes to.
12:14 [mattermost] <jpahd> Unless you'd like to figure things out again.
12:15 [mattermost] <smoeast-library> I do not want to have to setup the ports again,
12:16 [mattermost] <jpahd> Then backup the config files where you configured them, huh? :D
12:16 [mattermost] <jpahd> That's what I meant by that.
12:17 thibaud_g joined #koha
12:17 mbridge [mattermost] <smoeast-library> I dont remember what I configured, perplexity had me messing with mostly every file hat had anything remotely to do with it.
12:18 [mattermost] <smoeast-library> So I think what I am hearing is just start over, correct?
12:20 [mattermost] <smoeast-library> Ok, I am going to take a restore point and name it, then I will try to do it.
12:23 [mattermost] <jpahd> That would maybe be even better.
12:23 [mattermost] <jpahd> If you then need help, just ask here.
12:24 [mattermost] <jpahd> And don't ask AI for Koha config options. It's too dumb for that :D
12:27 thibaud_glt joined #koha
12:32 alex_a joined #koha
12:36 mbridge [mattermost] <smoeast-library> Ok
12:38 [mattermost] <smoeast-library> Should I be logged in as my user or root when installing?
12:39 [mattermost] <jpahd> Use your user and then you will be prompted by sudo if you need privileged acces.
12:39 [mattermost] <jpahd> Use your user and then you will be prompted by sudo if you need privileged access.
12:39 [mattermost] <smoeast-library> Ok
12:41 [mattermost] <smoeast-library> If it says 140 packages can be upgraded. Run 'apt list --upgradable' to see them.
12:41 [mattermost] <smoeast-library> should I be upgrading them or just leave it?
12:41 [mattermost] <jpahd> Just leave it
12:41 [mattermost] <smoeast-library> Ok
12:41 [mattermost] <jpahd> Although
12:42 [mattermost] <jpahd> I assume you are using some preconfigured Azure distro, right
12:42 [mattermost] <jpahd> I assume you are using some preconfigured Azure distro, right?
12:43 [mattermost] <jpahd> Are you going w/ Debian or Ubuntu?
12:43 [mattermost] <smoeast-library> Ubuntu
12:44 [mattermost] <jpahd> Alright.
12:44 [mattermost] <smoeast-library> I like my software to be up to date, is there a reason to not use codename install?
12:45 [mattermost] <jpahd> Just saw that there's not specific documentation for Ubuntu anymore, you can just follow "Koha on Debian:/
12:45 [mattermost] <jpahd> Just saw that there's not specific documentation for Ubuntu anymore, you can just follow "Koha on Debian".
12:45 [mattermost] <jpahd> Yes, it gives you more control.
12:46 [mattermost] <smoeast-library> Wait, are you saying to go by codename or version?
12:46 [mattermost] <jpahd> By version.
12:46 [mattermost] <smoeast-library> Ok
13:04 alex_a joined #koha
13:07 mbridge joined #koha
13:23 mbridge [mattermost] <smoeast-library> Should I use MysSQL or MariaDB
13:23 paul_p joined #koha
13:25 mbridge [mattermost] <jpahd> MariaDB
13:25 [mattermost] <smoeast-library> Ok
13:29 [mattermost] <smoeast-library> Does this looks right if I want the staff to be libraryadmin.smoeast.com and the OPAC to be library.smoeast.com
13:29 [mattermost] <smoeast-library> DOMAIN=".smoeast.com"
13:29 [mattermost] <smoeast-library> INTRAPORT="8078"
13:29 [mattermost] <smoeast-library> INTRAPREFIX="libraryadmin"
13:29 [mattermost] <smoeast-library> INTRASUFFIX=""
13:29 [mattermost] <smoeast-library> OPACPORT="8079"
13:29 [mattermost] <smoeast-library> OPACPREFIX="library"
13:29 [mattermost] <smoeast-library> OPACSUFFIX=""
13:32 [mattermost] <jpahd> Looks fine.
13:32 [mattermost] <smoeast-library> Ok, thank you
13:34 [mattermost] <smoeast-library> i GOT THIS:
13:34 [mattermost] <smoeast-library> LibraryUser@KohaServer:~$ Listen 80
13:34 [mattermost] <smoeast-library> Command 'Listen' not found, did you mean:
13:34 [mattermost] <smoeast-library>   command 'listen' from deb ruby-listen (3.8.0-1)
13:34 [mattermost] <smoeast-library> Try: sudo apt install <deb name>
13:34 [mattermost] <smoeast-library> I got this:
13:34 [mattermost] <smoeast-library> LibraryUser@KohaServer:~$ Listen 80
13:34 [mattermost] <smoeast-library> Command 'Listen' not found, did you mean:
13:34 [mattermost] <smoeast-library>   command 'listen' from deb ruby-listen (3.8.0-1)
13:34 [mattermost] <smoeast-library> Try: sudo apt install <deb name>
13:34 [mattermost] <jpahd> This is not a command.
13:35 [mattermost] <smoeast-library> Oh, so I put it into this:
13:35 [mattermost] <smoeast-library> /etc/apache2/ports.conf
13:35 [mattermost] <jpahd> That's fine.
13:36 [mattermost] <jpahd> > LibraryUser@KohaServer:~$ Listen 80
13:36 [mattermost] <jpahd> But this is just inside the config, not on the shell.
13:36 [mattermost] <jpahd> You should maybe read the documentation surrounding the examples :D
13:41 [mattermost] <smoeast-library> Unimarc or Marc21, I am in US
13:42 [mattermost] <jpahd> MARC21
13:42 [mattermost] <smoeast-library> Ok
13:44 [mattermost] <smoeast-library> So far, it is going much better than when I was following perplexity's instructions.
13:44 [mattermost] <jpahd> That's no surprise to me :)
13:50 [mattermost] <smoeast-library> I got this when trying to add a translation:
13:50 [mattermost] <smoeast-library> LibraryUser@KohaServer:~$ sudo koha-translate --install ar-ARAB
13:50 [mattermost] <smoeast-library> Error: the selected language is not currently available.
13:53 [mattermost] <jpahd> Please skip this step for now.
13:53 [mattermost] <jpahd> This can be done later.
13:53 [mattermost] <smoeast-library> Ok
13:54 [mattermost] <jpahd> I also just found out that the docs are out of date.
13:54 [mattermost] <smoeast-library> Now that I have it working locally on the server, how do I get it working everywhere else?
13:58 [mattermost] <smoeast-library> Currently when on a different internet you can access the OPAC at http://library.smoeast.com:8079/
13:58 [mattermost] <smoeast-library> how do I make it work at library.smoeast.com and https://library.smoeast.com
14:02 [mattermost] <jpahd> For the translations, could you try:
14:02 [mattermost] <jpahd> `sudo koha-translate --install ar-Arab`?
14:04 [mattermost] <smoeast-library> LibraryUser@KohaServer:~$ sudo koha-translate --install ar-Arab
14:04 [mattermost] <smoeast-library> Connection to the memcached servers '__MEMCACHED_SERVERS__' failed. Are the unix socket permissions set properly? Is the host reachable?
14:04 [mattermost] <smoeast-library> If you ignore this warning, you will face performance issues
14:05 [mattermost] <smoeast-library> I have to leave in 5 minutes, I will hopefully be back in an hourish.
14:05 [mattermost] <cait> you can ignore that warning, but does it finish?
14:06 [mattermost] <cait> it appears sometimes when installing languages, in that case it can be ignored
14:06 [mattermost] <smoeast-library> It just ends there
14:07 mbridge joined #koha
14:09 mbridge [mattermost] <jpahd> I think no output means exit 0, right @cait
14:10 [mattermost] <jpahd> Haven't installed languages in a loooong time.
14:10 [mattermost] <jpahd> (At least manually)
14:54 [mattermost] <smoeast-library> I just opened administration and it does appear: : https://chat.koha-community.or[…]YZ-tb5LCm-a8PyLAg
14:54 [mattermost] <jpahd> Great.
14:54 [mattermost] <jpahd> But I didn't expect otherwise.
14:57 [mattermost] <smoeast-library> I have the OPAC Base URL set to https://library.smoeast.com but it is not accessible at the web address.
14:57 [mattermost] <cait> that's not how that works :)
14:58 [mattermost] <cait> if you want it to apepar under a certain address you have to configure your Apache accordingly on server side
14:58 [mattermost] <cait> that#s just to make the address knwon to Koha that you set up
14:58 [mattermost] <smoeast-library> I own the domain and I have square space pointing to the IP, how do I set it up with apache?
15:00 [mattermost] <cait> that's a question for a sysadmin (which I am not)
15:07 mbridge joined #koha
16:00 reiveune left #koha
16:07 mbridge joined #koha
17:07 mbridge joined #koha
17:33 lds joined #koha
18:02 lds joined #koha
18:07 mbridge joined #koha
19:07 mbridge joined #koha
20:07 mbridge joined #koha
21:07 mbridge joined #koha
22:07 mbridge joined #koha
23:00 mbridge [mattermost] <?/θ> Hello! Most of the Koha Community conversation is now over on Mattermost. Come and join us! https://chat.koha-community.org
23:07 mbridge joined #koha

← Previous day | Today | Next day → | Search | Index

koha1