| 02:20 | * | JustTB has quit (Ping timeout: 248 seconds) |
| 02:35 | * | JustTB has joined |
| 12:07 | * | mstenta has quit (Ping timeout: 240 seconds) |
| 12:17 | * | brucedawson has joined |
| 12:21 | * | mstenta has joined |
| 13:09 | brucedawson | Anyone know where are the instructions for upgrading farmos? And can I skip beta13 (go from beta12 to beta14)? |
| 13:31 | * | mac___ has joined |
| 13:33 | * | mac___ has quit (Client Quit) |
| 13:36 | mstenta | hi brucedawson |
| 13:36 | mstenta | there are some basic updating instructions here: farmos.org/hosting/updating/ |
| 13:37 | mstenta | and yes, you should be able to upgrade from beta12 to beta14 without beta13 in between... |
| 13:37 | mstenta | be sure to take a database backup beforehand, in case there are any issue with that jump (shouldn't be, but i've only tested the incremental update steps) |
| 13:38 | mstenta | also FYI: I'm actually going to be releasing beta15 this week... there are a few bugs with beta14 (and a security issue with the Views module that a new release is available for) |
| 13:39 | mstenta | i just need a bit of time to fix one last bug, then i will package beta15 |
| 13:42 | brucedawson | Thanks! OK. I'll wait for Beta15! |
| 13:44 | mstenta | brucedawson: cool! i'd be happy to help you through the update process when you're doing it |
| 13:45 | mstenta | brucedawson: how are things? it's been a while! :-) |
| 13:45 | mstenta | i was up at Dorn's a few weeks ago, we were saying we need to have another iFarm |
| 13:46 | brucedawson | OK. Thanks - I'll let you know if I need help. I was just concerned that Beta13/14 may have introduced some DB changes, but if not, then I can safely skip them. |
| 13:47 | brucedawson | Yeah. We've had to let some workers go due to cash flow problems. Now I have to take up the slack. Sigh. I agree, we need another iFarm. |
| 13:54 | mstenta | Sorry to hear about the workers (and the slack that needs taking up) |
| 13:54 | mstenta | There are DB updates in both beta13 and beta14... but they are automated as part of the update.php script |
| 13:55 | mstenta | So just be sure you run the update.php script after you update the codebase |
| 13:55 | mstenta | I've tested them individually, but haven't tested running them all at once (both the beta13 and beta14 updates) - should work in theory, but always a good idea to take a database snapshot beforehand just in case. |
| 13:56 | mstenta | If you hit any issues, take a screenshot, and maybe look at the "Recent log entries"... send me all the clues you can, and then restore your DB backup and roll back your codebase |
| 15:43 | mstenta | brucedawson: do you have any Features modules overridden in your farmOS? |
| 15:43 | mstenta | brucedawson: I just remembered... I think some of the db updates automatically revert some of the features - which would cause your changes to be reverted possibly |
| 15:44 | mstenta | (this is something I should start documenting in the release notes...) |
| 15:47 | mstenta | (made a note for that... github.com/farmOS/farmOS.org/issues/16#i) |
| 18:27 | brucedawson | Sorry for the delay - "real life" interfered... I have not overridden any Features modules. |
| 18:48 | mstenta | brucedawson: great - then you don't have to worry :-) |
| 18:48 | mstenta | brucedawson: i just released beta15 |
| 19:20 | brucedawson | Just installed Beta15, and I got errors. Do you want me to log them on github? Or do you just want to look at the site? |
| 19:21 | mstenta | Can you paste the errors to pastebin.com ? |
| 19:21 | mstenta | And then paste the link to the pastebin here |
| 19:31 | brucedawson | Well, I've got 2 screenshots, and I don't think I can put them on pastebin. They should be on www.milessmithfarm.com/sites/default/fil<wait a sec>... |
| 19:31 | brucedawson | Screenshot-08222017-030303PM.png and Screenshot-08222017-031834PM.png |
| 19:33 | brucedawson | I think you're also user 'mike' on the site. |
| 19:33 | brucedawson | farmos.milessmithfarm.com |
| 19:33 | mstenta | Thanks - OK so some of these you can safely ignore... |
| 19:33 | mstenta | Parsing... |
| 19:34 | mstenta | Did you have the farm_bee module installed at one point? |
| 19:35 | mstenta | In the first screenshot, you can ignore the first and last "User warning" points. |
| 19:36 | mstenta | The middle one is there (and in the second screenshot) because the farm_bee module is missing. |
| 19:36 | mstenta | Maybe you removed the module without uninstalling it first... if that's the case, it's pretty much harmless, and you can ignore it. |
| 19:36 | mstenta | If you want to solve it permanently, add the module back, and then uninstall it - I think that will work. Or you can manually delete the module's entry from the {system} database table. |
| 19:37 | mstenta | I'm a bit stumped by the last two errors in the second screenshot... I'm not sure what caused those. |
| 19:39 | mstenta | brucedawson: I googled those messages, and found this: www.drupal.org/node/826640 |
| 19:41 | mstenta | It sounds like that is caused by the "anonymous" user (uid 0) not existing in the {user} database table |
| 19:41 | mstenta | Could you check to see if there is a user with uid 0 in the {user} database table? |
| 19:42 | brucedawson | Hang on... |
| 19:42 | mstenta | It sounds like you may also just be able to re-run update.php, and it will work... |
| 19:42 | brucedawson | BTW... there's a few boatloads of messages in the logs. |
| 19:42 | mstenta | But if uid 0 is missing, this might happen again in the future. |
| 19:43 | mstenta | Hmm, lots of logs is normal... assuming there aren't errors... |
| 19:43 | mstenta | But if you want me to take a look, feel free to paste them in a pastebin |
| 19:43 | mstenta | Try re-running the update.php first... see if that works. |
| 19:45 | brucedawson | Uid 0 is in table users with blank name and email |
| 19:45 | brucedawson | mysql> select uid,name,mail from users; +-----+---------+-------------------------------------+ | uid | name | mail | +-----+---------+-------------------------------------+ | 0 | | | | 1 | jbd | webmaster+farmos@milessmithfarm.com | | 8 | teresa | tmdowney61@gmail.com | | 9 | mike | mike@mstenta.net | | |
| 19:46 | brucedawson | Urg. cut and paste don't work here. |
| 19:46 | mstenta | No worries - i see it |
| 19:47 | mstenta | I'm checking my db to see if that all looks normal |
| 19:47 | mstenta | yup that looks the same as mine |
| 19:47 | mstenta | hmm ok so maybe it wasn't the same issue :-/ |
| 19:47 | mstenta | did you try re-running update.php? |
| 19:48 | brucedawson | running it now. I'll have to re-install farm-bee module later. |
| 19:48 | mstenta | OK |
| 19:48 | mstenta | Yea - the whole "module missing" notice was something Drupal core added in 7.50 (i think) |
| 19:49 | mstenta | it was basically to help prevent some other issues where people had lots of orphaned entries in their {system} table |
| 19:49 | mstenta | it's mostly harmless |
| 19:49 | mstenta | the reason you saw it for farm_admin and farm_taxonomy is because I broke those modules up into different modules in these past two releases, so those two don't exist anymore. |
| 19:50 | mstenta | But the updates remove the orphaned rows from {system}, which is why those messages go away after you run update.php. |
| 19:51 | brucedawson | I ran update.php again - "No pending updates". Now the only message is about farm-bee. |
| 19:52 | mstenta | Ok cool |
| 19:52 | mstenta | so maybe it's all fixed! |
| 19:53 | mstenta | I would go to /admin/structure/features and see if anything appears as "Overridden" |
| 19:53 | mstenta | And maybe also take a look at Recent log messages to see if any errors jump out... but if there's nothing recent then it's probably fine. |
| 19:56 | brucedawson | OK. But things don't look right. I'll create another screenshot. Does pastebin allow images? |
| 19:56 | mstenta | Uh oh. No, but imgur.com does |
| 19:59 | brucedawson | Well, its now on milessmithfarm.com/sites/default/files/Screenshot-08222017-035645PM.png |
| 20:00 | mstenta | ok thanks |
| 20:00 | mstenta | oh... hmm yea i noticed that issue on the modules page too... |
| 20:00 | mstenta | i don't know what's caused that... i need to debug it still, but it shouldnt affect other parts of farmOS |
| 20:01 | mstenta | i think it's an issue with the module_filter module (which provides that nice UI on the module page) |
| 20:01 | mstenta | (well... theoretically nice UI... this is not very nice at all...) :-) |
| 20:01 | mstenta | does the rest of the farmOS UI seem to work correctly? |
| 20:01 | mstenta | i'll try logging in too and take a look... |
| 20:03 | brucedawson | OK. I added the farm_bee module and those messages went away - we'll be getting bees again (but probably at a remote location), so I might as well leave it in. |
| 20:03 | mstenta | Everything looks good, at quick glance! No issues that I can see. |
| 20:03 | brucedawson | I've got some animal movements to record. I'll let you know if there's any problems! |
| 20:03 | mstenta | Congrats! I think it worked! :-) |
| 20:03 | mstenta | Ok great! |
| 20:03 | mstenta | I have to sign off for a bit now anyway - we're meeting some friends for dinner |
| 20:04 | brucedawson | Have fun! |
| 20:04 | mstenta | Glad we were able to get it all resolved :-) |
| 20:04 | mstenta | Thanks! Talk to you later... |
| 20:04 | brucedawson | Yup. Scary message were just that... scary! |
| 20:04 | * | brucedawson has quit (Quit: Page closed) |