farmOS 2.0.0-beta4 has been released

farmOS 2.0.0-beta4 has been released.

For the full release notes, see CHANGELOG.md.

2 Likes

i have tried updating to to this version but i now dont get any base layers. All the data seems to be there but no satelite images. any ideas why this is not working ? both google maps and map box are enabled and were working on the last version. i do not think i have geos installed unless it is part of farmos files so would be interested how to install that. i have cleared the cache and tried it in a private window… any pointers appreciated

1 Like

have you run the PHP update? https://your_farmos_url/update.php
or alternatively drush updb

1 Like

Thanks - yes I did the update.php and all fine except warning over geos. Does the drush update do something deffierent - if so how to I do the update. Thanks

1 Like

AFAIK It achieves the same thing.
What sort of installation are you running? and what update procedure did you use?

1 Like

@oliverp44 - aside from @Farmer-Ed’s questions, I’ll add one more: do you see any errors in your browser’s Developer Tools console?

1 Like

thanks - hope this helps

farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2
farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function
at e.renderFrame (farmOS-map.js?raivk3:2:280290)
at e.renderFrame_ (farmOS-map.js?raivk3:2:325032)
at e. (farmOS-map.js?raivk3:2:311542)
e.renderFrame @ farmOS-map.js?raivk3:2
e.renderFrame_ @ farmOS-map.js?raivk3:2
(anonymous) @ farmOS-map.js?raivk3:2
requestAnimationFrame (async)
e.render @ farmOS-map.js?raivk3:2
e.handleSizeChanged_ @ farmOS-map.js?raivk3:2
e.dispatchEvent @ farmOS-map.js?raivk3:2
e.notify @ farmOS-map.js?raivk3:2
e.set @ farmOS-map.js?raivk3:2
e.setSize @ farmOS-map.js?raivk3:2
e.updateSize @ farmOS-map.js?raivk3:2

1 Like

i uploaded the tar.gz into my folder having taken backups and removed old farmos folder. i replaced the sites folder with the old one then ran the udate.php file. i then ckeared the cache.
all seemed fine

1 Like

Hmm I’m not sure @oliverp44 - I would probably recommend attempting the update again.

Make sure you delete all the old directories (apart from sites) before unpacking the new version. I’ve heard people have issues in the past where the merged new files over old files, unintentionally leaving some old files in place. I can’t really think how that would cause the issue you described, but figured it was worth mentioning in case that’s the issue.

I’ve opened a new thread with my investigation @oliverp44 / @mstenta See farmOS-map.js?raivk3:2 Uncaught TypeError: l.unrender is not a function

2 Likes

Oh thanks @Symbioquine! So it sounds like this is only an issue if you use 2.0.0-beta4 in combination with the Google Maps layers module?

Correct - I think we only picked up that change with our recent version bump of OpenLayers in farmOS-map.

1 Like

Thank you @Symbioquine @mstenta @Farmer-Ed
I have uninstalled the google maps and all is fine.
I do find google maps more exact and up to date but will leave it out until the fix is done

3 Likes

Thanks for the confirmation that disabling the farm_map_google module fixes it @oliverp44 - for what it’s worth we decided not to include that module in farmOS v2 for this very reason: it is a complicated extra layer that has some known issues and adds quite a bit of overhead - largely due to Google’s policy of not allowing their layers to be used directly in OpenLayers. So you can complain to Google for making it harder for us open source devs if you are so inclined. :slight_smile:

1 Like

@mstenta is there generally an issue with accuracy of mapbox v google ? i use geometry provided by UK government for my field boundaries which perfectly aligns with google map layer, however it is off set by may be 3m in mapbox layer ?

1 Like

@oliverp44 Actually yes I have seen differences! It seems to vary depending on where you are on the globe. In fact, I’ve been told that in some scandanavian regions the Google Maps are off by 10+m. This is the first time I’ve heard of the MapBox layers being off, but I’m not surprised. It seems that it may affect all the major providers depending on the area.

If you have geometry provided by the UK government then that is probably more trustworthy. Another thing that might be worth exploring longer term is creating a module that provides satellite imagery for your region from a different source.

Others have created modules like these before:

Otherwise the best thing to do is wait for the Google Maps module’s fix.