farmOS 2.0.0 has been released! Happy New Year! ๐ŸŽ‰

farmOS 2.0.0 has been released!

This is a significant milestone for the farmOS community. It is the first โ€œstableโ€ release of the farmOS v2 branch.

For more information, read the blog post:

For the full release notes, see CHANGELOG.md.

Happy New Year! :smiley:

7 Likes

Thanks Mike for this. I have done the update but seem to have lost all my formatting. I was updating from beta 4 to the latest stable version. I did the upgrade.php and all seemed fine. Initially when I was able to log into the site I cleared the cache but it appears the same in a private browser.


Any ideas what I have done wrong ?! I am using php 8.1

1 Like

Hmm - did you clear caches through the UI, or via CLI drush cr? Might be worth trying drush cr if you havenโ€™t already.

Looking at the Log there are several errors similar to " The specified file โ€˜temporary://filelYnumTโ€™ could not be copied because the destination directory โ€˜public://jsโ€™ is not properly configured. This may be caused by a problem with file or directory permissions."

It looks like my permissions are not set up correctly - what permissions should I set to allow it to work and should I set them before the upgrade ?

Thank you - FarmOS has become an essential part of how I record all of our work here !

Oh yea that would explain it. Strange that it worked before you upgraded though. :thinking:

This describes the basics: https://www.drupal.org/node/15368

Are you using the Docker-based or tarball-based install described here? Installing farmOS | farmOS

Generally, your files directories will be in:

  • web/sites/default/files (public files)
  • web/sites/default/private (private files)

Both need to be writable by the web server. In the farmOS Docker image, that is the www-data user. But if you are doing something different (like hosting on Nginx) then it will be something different.

I generally just chown both of them to www-data:www-data, but as long as theyโ€™re writable by www-data it should work.

Hereโ€™s a whole bunch of info on the security considerations: https://www.drupal.org/docs/security-in-drupal/securing-file-permissions-and-ownership

Hope that helps!