We are getting occasional reports of "ArgumentError: marshal data too short" errors occurring with moneta. One can trigger the same kind of error like this:
So it must be that moneta is not correctly writing its data to the filesystem correctly in some cases. To figure out why this is happening, it would be helpful to have an example of a file with bad Marshal data, but nothing is available at this time.
For now, users can work around the issue by running this script:
and then removing the damaged file(s). Users are encouraged to submit these files to this ticket as attachments after verifying they do not contain private information.