#zoneminder

/

      • compdoc has quit
      • jackjames has quit
      • jackjames joined the channel
      • Justin417 has quit
      • Justin417 joined the channel
      • Bhaal
        Woooo, ic0n, I just built and installed latest... Seem to be having a skin problem
      • oogla joined the channel
      • oogla has quit
      • Anyone here who is using ic0n's code? HALP
      • Hrm, and the api seems broken as well
      • auth.php is missing?
      • Sooooo, when saving the options, it's not generating the symlinks?
      • in the cache dir I mean
      • leemar has quit
      • leemar joined the channel
      • oogla joined the channel
      • oogla
        devs don't hang here anymore, you should check out their slack
      • Bhaal
        slack?
      • oogla
        yah, it's another chat platform
      • oogla_ joined the channel
      • Bhaal
        *sigh* another chat platform?
      • oogla_
        yah, irc got spammed a while ago and botbot is leaving
      • Bhaal
        yeah I saw that.... seems only channels which didn't care whether nicks were registered were the ones having problems
      • s/were/where
      • errr
      • ignore that
      • pfft
      • oogla_
        LOL
      • i read it as you meant it :P
      • Bhaal
        And that is how it should ghave been, no correction required... I'm tired
      • oogla has quit
      • oogla_
        well at least slack is closer to being a discord community
      • Bhaal
        discord?
      • <--- head in sand
      • oogla_
        a better version of slack, essentially for the purpose of making a community
      • Bhaal
        I've seen the word, but not paid any attention to it
      • oogla_
        slack you have to pay for most thing which takes away from its value
      • discord is free for the same features
      • discord is like the facebook of chat platforms
      • Bhaal
        Ahhh
      • oogla_ has quit
      • Ok... Fixed the problem...
      • So after ALL that futzing around I figured out what needed to be fixed...
      • After installing the .deb apache needed restarting...
      • ren0v0
        Bhaal,
      • I'm still getting errors since my 1.31.44 upgrade
      • maybe you could help ?
      • Bhaal
        I just jumped from 1.31.42 to 1.32.0
      • ren0v0
        Everything is running and recording fine, but i cant view events in browser
      • Bhaal
        I was getting errors on 1.31.44 as well so I rolled back
      • ren0v0
        man
      • an dno issues?
      • Bhaal
        Haven't tried events
      • ren0v0
      • I think it could be apache related
      • Bhaal
        Can view events fine
      • ren0v0
        Can you tell anything from my logs at all ?
      • if not, would you mind sharing your apache config and system config so i can compare against it ?
      • Bhaal
        I'm assuming PATH_ZMS is set correctly?
      • My apache config now is for 1.32.0 which is different, and sucked up 2hrs of my time...
      • ren0v0
        Bhaal, thing is i dont actually know, in that i dont know what it should be, it worked on the previous version
      • well, i'm on 1.32.0 now also, can you share it?
      • :Dd
      • Bhaal
        It's the apache conf which came from the .deb
      • ren0v0
        hmm, so maybe mine didn't overwrite
      • why did it take 2 hours of your time then ?
      • Bhaal
        because I was trying to fix the code... But what had happened was they'd changed some paths around and the apache config file was updated, BUT apache wasn't restarted
      • ren0v0
      • Bhaal, *
      • Bhaal
        Seems the paths stuff has been removed from the config options
      • go into the database and see if this shows you anything "select Id, Name, Value from Config where Name like '%ZMS%';"
      • ren0v0
        Bhaal, now its in /etc/zm/conf.d/01-system-paths.conf
      • Bhaal, that query returns 0 rows
      • Bhaal
        ok
      • Our conf files are the same...
      • ren0v0
        ok, what about the system one?
      • let me paste mine
      • Bhaal
        Wow, so that's where all the paths are...
      • ren0v0
        yea!
      • The annoying thing here for me is that all events are being recorded, with audio (which is why i upgraded, for the fix ic0n was working on), but when i click them in browser it errors in apache and ZM
      • Bhaal
        Well it looks fine
      • What apache running as?
      • user
      • Logicwrath joined the channel
      • ren0v0
        assuming www-data, i've not changed anything from default, i'm even using PPA
      • Bhaal
        check
      • ren0v0
        kk
      • yes, www-data
      • Bhaal
        What's the ownership of /var/run/zm ?
      • ren0v0
        0 drwxr-xr-x 2 www-data www-data 340 Sep 25 07:11 zm
      • Bhaal
        You've debugged zms?
      • ren0v0
        I don't know too much about it, I have debugging on but there are so many logfiles
      • Bhaal
        Well you want to be looking at one that is for zms and see what it's doing when it tries to start
      • ren0v0
        Bhaal, just to clarify and i'll do this now, for component should i add "zms" or "_zms" ?
      • Bhaal
        undersocre I believe
      • ren0v0
        Bhaal, and to clarify, there is nothing at all wrong with ZM running, or recording etc etc, I can see the events on the drive and they are fine
      • Bhaal
        and clear out the log dir of debug logs so whatever is there is fresh
      • ren0v0
        it's literally just in browser when trying to view events, that i get the errors i pasted on my issue above
      • Bhaal
        Yep, but it will be an interaction somewhere
      • ren0v0
        ok checking
      • Bhaal, when i click the event to force the error, these are the only files updated in logs https://pastebin.com/BH701yMy
      • I have log_level_file = debug, log_debug = ticked, log_debug_target = _zms
      • Bhaal
        web_php.log might show something...
      • ren0v0
        Yes, this error is the one i pasted onto the github issue
      • Bhaal
        If not, just try "zms" or "zms_" in the target
      • ren0v0
        no cigar
      • Bhaal
        What did ic0n say about it?
      • ren0v0
        nothing yet, but i'm getting desperate!
      • could be JS related? .ERR [Uncaught TypeError: Cannot read property 'addEvent' of null] at http://192.168.1.104/zm/cache/skins_classic_vie... line 998
      • Bhaal
        Not sure
      • ren0v0
        Bhaal, this zms-437937s.sock things, the logs always show different ones
      • but in /var/run/zm they don't change
      • does that tell us anything?
      • Bhaal
        The ones there are probably old..
      • ren0v0
        ffs!
      • I hate when upgrades break things
      • as i put in my issue, i think this happened at 1.31.46
      • so i stayed on 1.31.44
      • Bhaal
        I normally roll back if I have too much trouble, I nearly did before, but decided to fix it, then had to roll back my fixes when I found it was a change in code, and apache config...
      • ren0v0
        Yes i have snapshots
      • but this 1.32.0 was actually for a bug for my audio
      • :D
      • Bhaal
        Yah... Yeah, I don't know, BUT it's not the first time I've encountered the problem
      • Did you compile from git?
      • ren0v0
        nope, PPA
      • Bhaal, my path for ZMS
      • its "/zm/cgi-bin/nph-zms" so i searched for nph-zms and this came back >> /usr/lib/zoneminder/cgi-bin/nph-zms
      • does that mean it doesn't match ?
      • Bhaal
        Yeah that's fine.. It's the web path...
      • Try compiling from source
      • I use this command: ./do_debian_package.sh -f=ConnorTechnology -b=storageareas -t=local
      • from the util directory in the source...
      • ren0v0
        I just don't have the time to setup from scratch, i will just rollback if i cant fix it
      • it wont make a difference, i dont see why it would
      • I have 16 monitors or something
      • Bhaal
        I don't either... but *shrug* It's something I'd try just to rule it out..
      • ren0v0
        I rememnber something about this path in the past, and having to play with it
      • i think if i removed the /zm/ prefix it showed eveents or something, but didn't recor3
      • and vice versa
      • is there a more simpler way to test apache cgi ?
      • the path i mean
      • Bhaal
        no ides
      • ren0v0
        ok Bhaal i appreciate the help, hopefully someone sees this scroll and can help later
      • Bhaal
        Aye
      • ren0v0
        Bhaal,
      • 0 lrwxrwxrwx 1 root root 3 Sep 20 00:49 nph-zms -> zms
      • 1.6M -rwxr-xr-x 1 root root 1.6M Sep 20 00:50 zms
      • IS this weird, that they haven't been updated since i upgraded
      • this is in directory > /usr/lib/zoneminder/cgi-bin/