< 212017-08-22⋎23 >

Topic for #farmOS is: farmOS (farmos.org) is a free open source, web-based farm management system, built on Drupal. Please report bugs to github.com/farmOS/farmOS/issues - Subscribe to the farmOS mailing list at: lists.eruditium.org/cgi-bin/mailman/listSet by mstenta on 2017-03-16 at 16:48
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:09brucedawsonAnyone 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:36mstentahi brucedawson
13:36mstentathere are some basic updating instructions here: farmos.org/hosting/updating/
13:37mstentaand yes, you should be able to upgrade from beta12 to beta14 without beta13 in between...
13:37mstentabe 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:38mstentaalso 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:39mstentai just need a bit of time to fix one last bug, then i will package beta15
13:42brucedawsonThanks! OK. I'll wait for Beta15!
13:44mstentabrucedawson: cool! i'd be happy to help you through the update process when you're doing it
13:45mstentabrucedawson: how are things? it's been a while! :-)
13:45mstentai was up at Dorn's a few weeks ago, we were saying we need to have another iFarm
13:46brucedawsonOK. 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:47brucedawsonYeah. 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:54mstentaSorry to hear about the workers (and the slack that needs taking up)
13:54mstentaThere are DB updates in both beta13 and beta14... but they are automated as part of the update.php script
13:55mstentaSo just be sure you run the update.php script after you update the codebase
13:55mstentaI'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:56mstentaIf 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:43mstentabrucedawson: do you have any Features modules overridden in your farmOS?
15:43mstentabrucedawson: 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:44mstenta(this is something I should start documenting in the release notes...)
15:47mstenta(made a note for that... github.com/farmOS/farmOS.org/issues/16#i)
18:27brucedawsonSorry for the delay - "real life" interfered... I have not overridden any Features modules.
18:48mstentabrucedawson: great - then you don't have to worry :-)
18:48mstentabrucedawson: i just released beta15
19:20brucedawsonJust 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:21mstentaCan you paste the errors to pastebin.com ?
19:21mstentaAnd then paste the link to the pastebin here
19:31brucedawsonWell, 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:31brucedawsonScreenshot-08222017-030303PM.png and Screenshot-08222017-031834PM.png
19:33brucedawsonI think you're also user 'mike' on the site.
19:33brucedawsonfarmos.milessmithfarm.com
19:33mstentaThanks - OK so some of these you can safely ignore...
19:33mstentaParsing...
19:34mstentaDid you have the farm_bee module installed at one point?
19:35mstentaIn the first screenshot, you can ignore the first and last "User warning" points.
19:36mstentaThe middle one is there (and in the second screenshot) because the farm_bee module is missing.
19:36mstentaMaybe you removed the module without uninstalling it first... if that's the case, it's pretty much harmless, and you can ignore it.
19:36mstentaIf 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:37mstentaI'm a bit stumped by the last two errors in the second screenshot... I'm not sure what caused those.
19:39mstentabrucedawson: I googled those messages, and found this: www.drupal.org/node/826640
19:41mstentaIt sounds like that is caused by the "anonymous" user (uid 0) not existing in the {user} database table
19:41mstentaCould you check to see if there is a user with uid 0 in the {user} database table?
19:42brucedawsonHang on...
19:42mstentaIt sounds like you may also just be able to re-run update.php, and it will work...
19:42brucedawsonBTW... there's a few boatloads of messages in the logs.
19:42mstentaBut if uid 0 is missing, this might happen again in the future.
19:43mstentaHmm, lots of logs is normal... assuming there aren't errors...
19:43mstentaBut if you want me to take a look, feel free to paste them in a pastebin
19:43mstentaTry re-running the update.php first... see if that works.
19:45brucedawsonUid 0 is in table users with blank name and email
19:45brucedawsonmysql> 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:46brucedawsonUrg. cut and paste don't work here.
19:46mstentaNo worries - i see it
19:47mstentaI'm checking my db to see if that all looks normal
19:47mstentayup that looks the same as mine
19:47mstentahmm ok so maybe it wasn't the same issue :-/
19:47mstentadid you try re-running update.php?
19:48brucedawsonrunning it now. I'll have to re-install farm-bee module later.
19:48mstentaOK
19:48mstentaYea - the whole "module missing" notice was something Drupal core added in 7.50 (i think)
19:49mstentait was basically to help prevent some other issues where people had lots of orphaned entries in their {system} table
19:49mstentait's mostly harmless
19:49mstentathe 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:50mstentaBut the updates remove the orphaned rows from {system}, which is why those messages go away after you run update.php.
19:51brucedawsonI ran update.php again - "No pending updates". Now the only message is about farm-bee.
19:52mstentaOk cool
19:52mstentaso maybe it's all fixed!
19:53mstentaI would go to /admin/structure/features and see if anything appears as "Overridden"
19:53mstentaAnd 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:56brucedawsonOK. But things don't look right. I'll create another screenshot. Does pastebin allow images?
19:56mstentaUh oh. No, but imgur.com does
19:59brucedawsonWell, its now on milessmithfarm.com/sites/default/files/Screenshot-08222017-035645PM.png
20:00mstentaok thanks
20:00mstentaoh... hmm yea i noticed that issue on the modules page too...
20:00mstentai don't know what's caused that... i need to debug it still, but it shouldnt affect other parts of farmOS
20:01mstentai think it's an issue with the module_filter module (which provides that nice UI on the module page)
20:01mstenta(well... theoretically nice UI... this is not very nice at all...) :-)
20:01mstentadoes the rest of the farmOS UI seem to work correctly?
20:01mstentai'll try logging in too and take a look...
20:03brucedawsonOK. 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:03mstentaEverything looks good, at quick glance! No issues that I can see.
20:03brucedawsonI've got some animal movements to record. I'll let you know if there's any problems!
20:03mstentaCongrats! I think it worked! :-)
20:03mstentaOk great!
20:03mstentaI have to sign off for a bit now anyway - we're meeting some friends for dinner
20:04brucedawsonHave fun!
20:04mstentaGlad we were able to get it all resolved :-)
20:04mstentaThanks! Talk to you later...
20:04brucedawsonYup. Scary message were just that... scary!
20:04*brucedawson has quit (Quit: Page closed)

< 212017-08-22⋏23 >