Friday, 2010-02-05

../irclogs/#mantishelp.2010-02-05.log
--- scribe started ---00:00
alemayohi --- how can I change the summary of issues on mantisbt.org/bugs ?08:36
giallualemayo, click on "Edit issue"08:43
gialluactually08:43
gialluthe button is "Edit"08:43
alemayoI think I do not have it as a repoter08:44
alemayouser: am-gtz08:44
alemayomaybe somebody can increase my level :)08:44
gialluyeah, reporter can't edit08:45
kirillkagiallu: around?11:01
giallumore or less11:03
kirillkaCan you talk me: why monitor-users don't recive notice for add note?11:05
kirillkaThis bug? misconfig? Or this right work?11:05
alemayois it normal that due date always defaults to "1970-01-01 03:00" ?11:30
alemayoI think it should be empty instea?11:30
alemayoinstead11:30
giallukirillka, I think it's some misconfiguration; they should definitely get mails11:49
giallualemayo, it seems we don't support null fields, so we can't keep that empty11:49
alemayogiallu: but at least in the UI we should not show 1970-01-01 ???12:02
alemayoand why don't we support null fields ?12:02
giallualemayo, yeah, we should not12:04
gialluI don't really know details of why we have this stuff12:05
nuclear_eclipsealemayo: we can't support "null" fields due to the way some of our supported database backends work12:32
kirillkanuclear_eclipse: mo12:33
nuclear_eclipseeg, oracle doesn't support "null" values for fields12:33
nuclear_eclipsehi kirillka12:35
kirillkaHow I can set config, that all add bugnote send to administartors too?12:36
kirillkafor now I have http://mantis.pastebin.com/d4605dfaa12:37
nuclear_eclipse$g_notify_flags['bugnote']['threshold_min'] = ADMINISTRATOR;12:41
kirillkaThis option not misconfig, that monitored user don't receive notification?12:43
nuclear_eclipseI dunno12:43
nuclear_eclipseI would think that monitoring users would get mailed if someone adds a note though12:44
kirillkaok. I remove some config in config_table, than monitor-user receive email, but administrator - not. Before - administrator receive, monitor - not :)12:46
kirillkanuclear_eclipse: Thanks - work12:48
nuclear_eclipseyw12:48
webgambitpaul_: are you here?14:18
alemayonuclear_eclipse: but at least we should support null values ... i.e. if the internal date is 1970 the due date field should be empty and so on14:25
jasminamhello14:42
jasminamcan someone shed some light on upgrading from version 1.1.114:43
jasminaminitial upgrades are applied up to Drop votes column of mantis_bug_table0.17-jf-814:43
nuclear_eclipseunzip the new release tarball, copy your config_inc and any custom_* files from the old install, and run admin/install.php from the new install to upgrade the database schema if necessary14:44
jasminami tried that too, but it got stuck14:45
nuclear_eclipsestuck?14:45
jasminami get this far14:46
jasminamBAD14:46
jasminamCREATE TABLE _config_table ( config_id VARCHAR(64) NOT NULL, project_id INTEGER NOT NULL DEFAULT 0, user_id INTEGER NOT NULL DEFAULT 0, access_reqd INTEGER DEFAULT 0, type INTEGER DEFAULT 90, value LONGTEXT NOT NULL, PRIMARY KEY (config_id, project_id, user_id) )TYPE=MyISAM14:46
jasminamTable '_config_table' already exists14:46
nuclear_eclipsejasminam: were you running a version of mantis packaged for a linux distro?14:47
jasminamyes14:47
jasminamfrom plesk14:47
jasminambut can't upgrade from plesk14:48
jasminammain reason i wanted to update is to have search and filtering functionality14:49
nuclear_eclipsebasically, mantis by default keeps track of schema revisions from admin/schema.php in your config_table, so you would need to go through and set the appropriate database_version value in config_table to match the database revision last applied in your install14:50
nuclear_eclipsedebian did something similar with their packages on mantis, and it seems that 99% of upgrade issues are related to people trying to migrate from a distro package to one of our tarballs.... =\14:51
jasminamcan you give me an example of what i would need to do please once i'm in config_table14:52
jasminamand would i run install or upgrade script?14:52
nuclear_eclipseinstall14:52
nuclear_eclipseupgrade scripts are only needed to go from 0.X to 1.014:53
nuclear_eclipsepast 1.0, the install script handles both installs and upgrades14:53
jasminamok14:53
jasminamta14:53
nuclear_eclipseanyways, you'd need to insert a row in your config_table with "config_id" of "database_version", and set its value to an integer of the last applied schema revision from admin/schema.php14:54
nuclear_eclipsein my 1.2 install, the value is 173, but 1.1 would be much lower14:54
jasminamhow can i find out my revision number?14:55
nuclear_eclipseyou'd have to count through the array in admin/schema.php and compare each one to your database schema... =\14:57
nuclear_eclipsethis is why I never use web apps from distro packages, never know what they've done to them....14:57
jasminamthis is presumably in my current version of admin/schema.php14:58
nuclear_eclipseI'd recommend comparing against the one from 1.1.814:59
jasminamok14:59
jasminammy database_version in 1.1.1 install is set to 6315:01
jasminami've been looking at admin/schema.php and i don't know what i need to do here, can someone explain this a bit more please?15:47
jasminami ended up commenting the first few arrays in the schema.php and it completed the job, now have to see if this actually works15:57
jasminamafter doing this i get to continue to login page and see "WARNING: The database structure may be out of date. Please upgrade here before logging in."16:00
jasminamthen it gets stuck if i try to upgrade as it can't apply all changes16:01
webgambit|afkjasminam: I'm not very knowledgable with mantis yet, but from what I understand that warning about the database structure being out of date is just based on the value of one of the fields in the database. Maybe some of the stuff you commented out earlier would have updated that value? Just guessing.16:04
jasminammaybe, the value of database_version hasn't changed16:07
jasminamok, aside from the update, how can i search and filter in mantis?16:08
jasminamcan someone tell me what should be database_version for 1.1.8 please?16:24
webgambitpaul_ are you here?19:41
paul__lo19:49
paul__now19:50
paul__just got in not long ago19:50
webgambitgot time to help me out with that active directory issue I was telling you about yesterday?19:50
paul__yea I guess19:51
paul__first off, sanitize and show me what you have in config19:51
paul__for ldap atm19:51
paul__and remind me19:51
paul__are you on 1.1.8, 1.2rc2 or trunk19:51
webgambit1.1.819:51
webgambitmy config is posted at http://www.mantisbt.org/forums/viewtopic.php?f=3&t=982919:52
paul__$g_ldap_bind_dn needs to be a username19:54
paul__i.e. user/pass combinations19:54
paul__iirc19:54
webgambitok, I'm checking with our active directory guy19:57
paul__is 389 the non ldaps:// port?19:59
webgambitI'll ask19:59
webgambityes, 389 is the non ssl port20:01
webgambitokay, on the $g_ldap_bind_dn...20:01
paul__ldap_bind should be a user that the password relates to20:01
paul__low priv user20:01
webgambitright.20:02
webgambitwe have a very low priv user set up. The username is corridor.20:02
paul__ahh right20:02
paul__i'd be inclined to set  $g_ldap_root_dn = 'dc=subdomain,dc=domain,dc=com'; to CN=Users,dc=20:03
webgambitI tried just putting $g_ldap_bind_dn = 'corridor'; but that didn't change anything.20:03
webgambitokay, I'll try changing the root20:03
webgambitok, I changed root a couple of times. here's what I got.  $g_ldap_root_dn = 'dc=subdomain,dc=domain,dc=com'; gives operations error20:05
webgambit$g_ldap_root_dn = 'CN=Users,dc=subdomain,dc=domain,dc=com'; gives 'unable to bind' error20:06
paul__I need to dig out my ldap api20:07
webgambitCN=Cockpit_Admins,CN=Users,DC=gdesign,DC=goredesign,DC=com; doesn't give an error at all. but I'm not sure why that works.20:07
webgambitwell, it doesn't work, but it doesn't throw an error20:07
paul__is there a referrals optin in 1.1.8?20:09
webgambitno. but I found a post somewhere that said to add ldap_set_option( $t_ds, LDAP_OPT_REFERRALS, 0);  to the ldap_api.php so I did. however, it didn't say where to add it.20:11
webgambitso I may have it in the wrong place.20:11
paul__add that to ldap connect20:13
paul__somewhere20:13
paul__donth think it matters where20:13
webgambitsweet, that's where I have it.20:14
webgambithey paul_, if it would help, I could change to a different version, like the RC2 or the trunk.20:20
paul__I personally hate the ldap_api file in trunk atm ;p20:21
webgambitlol20:21
webgambitok, so I won't switch to that.20:21
paul__working on rewriting/changing it20:21
webgambitwhen I mess something up, it throws a variable saying it can't bind. So I assume that it's binding at the moment. What would be the next thing to check?20:24
paul__in fact, take the ldap api from trunk20:26
paul__you can at least turn on logging20:26
paul__:P20:26
webgambitlol20:26
webgambitokay, can I just grab that one file or will I need to replace it all?20:26
paul__grab that one file20:27
paul__you might need to tweak config defaults20:27
paul__but yea20:27
paul__should be fine20:27
webgambitok20:27
webgambitok, got the ldap api file up. When I refreshed the log in page i got several notices and a couple of warnings. Sorting through those now.20:33
paul__warnings are probably extra config entriers you need to add20:33
webgambitbingo20:33
webgambitConfiguration option "ldap_simulation_file_path" not found.20:33
webgambitConfiguration option "ldap_follow_referrals" not found.20:33
* paul__ hates ldap simulation20:33
webgambitfirst I've heard of it. Looking it up in the docs now to see what it should be set to.20:34
paul__dead20:34
paul__pointless20:34
paul__one of those20:34
paul__nuclear_eclipse: it's a friday night ok? :)20:35
webgambitokay, I got rid of the warnings. I couldn't find anything for the simulation so I just set it to = ''20:40
webgambitthat leaves me the following notice which is thrown 7 times on the login page.  Use of undefined constant LOG_LDAP - assumed 'LOG_LDAP'20:40
paul__constant_inc20:41
paul__add it20:41
webgambitwhat do i define it as?20:42
paul__for now, whatever next log number is20:43
paul__or whatever's in trunk20:43
paul__:)20:43
webgambitdone20:45
webgambitcopied what was in the trunk20:46
paul__yea that works20:46
webgambiti can refresh the login page and not get any errors, warnings or notices20:46
webgambitbut I still can't log in.20:46
paul__do you know how do to turn on our loggin?20:48
paul__$g_log_level = LOG_LDAP20:48
paul__and $g_log_path or something20:48
webgambitok, I did that. now when I refresh I get SYSTEM NOTICE: Undefined offset: 1620:49
webgambit16 is the number LOG_LDAP20:49
webgambitbut it did create the log file.20:51
webgambitI just went ahead and uploaded all the files from the trunk. No more notice. got an application error that I'm looking into now.21:01
webgambitok... it appears that I'm logged in. But I need to update the database now that I'm running the trunk but it won't let me. Says I'm not an administrator.21:08
webgambitpaul_: you still around?21:20
paul__ya21:20
paul__your not an admin??21:20
webgambitokay, I've got it up and running, but I can't seem to get mantis to see me as admin21:21
paul__huh21:21
paul__you was admin before?21:21
webgambitI'm admin in the AD. In order to get this going I ended up deleting everything and just install the last night's build.21:21
paul__turn off LDAP then21:22
paul__and just use the default adminiistrator/root logon?21:22
webgambitok...21:22
webgambitgot it. switched it to md5, logged in as administrator and modified my user then switched it back to ldap.21:26
webgambitthanks for all your help paul_21:28
paul__..21:28
paul__?21:28
paul__ldap's working??21:28
webgambityep21:28
paul__stick around21:29
webgambitok21:29
paul__as i might replace that ldap file voer wekened21:29
webgambitgotcha21:29
siebrandwhat's up with http://git.mantisforge.org/w/ManTweet.git?a=tree ?23:21
siebrand404 - Reading tree failed23:21
siebrandwasn't that your thing, paul__? Or who's?23:22
paul__no commits i think23:22
siebrandpaul__: completely empty? Where are the sources?23:23
paul__think victor had them on github originally23:23
siebrandpaul__: right, that'd be http://github.com/vboctor/mantis-plugins/tree/master/ManTweet23:24
siebrandpaul__: thanks23:24

Generated by irclog2html.py