I’ve followed the guide to activate the low write mode in emoncms step by step but now the webpage is not available anymore and I’m getting a http error 500
Out of date? Really? Is there no low write mode possible anymore?
I’m using Version 9.9.8 as I don’t like the new GUI - so I will stick with this version! Maybe there is an low-write mode still possible / needed?
BTW - I would appreciate an update instead of archive!
The problem is that the new version does not just include a new GUI, but lots of backend fixes. It is really difficult to support older versions. It is a bit like asking Microsoft to support XP because you do not like Win 10 interface (or old MacOS or old Ubuntu versions depending on your view).
For instance, there were some issues with the python scripts that support low write. These have been fixed but very difficult to back port. If you pull in the new script, it may well now be incompatible with v9.9.8.
Low write is necessary else the SDCard will wear out quite quickly (assuming it is on an SDCard based system). It is still possible but the implementation is not exactly the same.
Maybe so, but with limited effort available that is unlikely to happen.
A lot of effort has gone into the new scripts to help avoid the need for these different guides that tended to get out of sync.
Well Microsoft don’t support XP now, but they did for 12 years, alongside various other OS. Ubuntu is currently supporting two releases. Most vendors support more than one. I believe Apple support three versions of MacOS at one time. So I don’t think that was a very good point!
FWIW, I’m running ‘low-write 9.9.8’ quite happily. /var/log uses 8.7 MB out of 42 MB. /run/log/journal uses 49 MB out of 440 MB. The pi has been up for 86 days.
It seems to me that keeping images of releases for long enough to decide whether they work well, perhaps with some subsequent patches installed, and then freezing them but keeping them available, is very doable without much effort.
I’m sure you will be able to help @Hecot out then. I’m reasonably sure that you are not running ‘vanilla’ 9.9.8 and have had to do other things such as modify logrotate to keep it happy.
The image is not one single thing (which is why it is referenced by date rather than Emoncms Version) and equally, Emoncms V9.9.8 is just one part of the overall system which is why, what you suggest, simply will not work considering a lot of the help offered here is ‘community’ rather than paid for.
You’d think so, wouldn’t you? I am running something that describes itself at the bottom of the pages ‘low-write 9.9.8’ and I’m pretty certain I didn’t put that there. I certainly had to do some things to get it to run properly - and that’s why I still run it, because I expect I’d have to do some other bunch of things to get any upgrade to run properly as well, and what I want is just a stable logging system, not a toy to play with. But I’m afraid I don’t remember exactly what I did, so I’m not much help to Hecot.
The one thing I do remember is that I had to change the logging levels to reduce the quantity of ‘garbage’ spewed out by MQTT (?) But for any other changes it will be necessary to trawl the archives to find the posts where you or Trystan or Robert or Paul or … I’m sure there were others … told me what needed changing to make it work.
The image definitely is just one thing - it’s an SD card bought from the shop. The changes do complicate things a bit, I agree, but AIUI git is quite capable of tracking multiple changes and it’s then just a matter of noticing which versions actually work. If the original image I started with is identified internally by some kind of UID and if it is still available online, then we could probably work out pretty much how mine differs from it with diff or similar (git?).
Oh, FWIW the last thing in /var/log/emoncms.log is:
2019-07-27 23:07:03.614|WARN|phpmqtt_input.php|Connecting to MQTT server: Connection Accepted.: code: 0
As you can see, Emoncms is just one part of the system - bit like Android plus apps.
Exactly my point. Those issues are now fixed in the latest release (and to some extent, finding those solutions and incorporating them make each release better) so unless everyone does those fixes individually they will each have the same issues.
You clearly do not understand it is multiple repositories. If you think it is possible you are welcome to try.
Anyway, I’m done. As far as I’m concerned 9.9.8 is not supported by me now there is a new stable release - others may have a different view.
Trystan posted this yesterday but it seems to have been missed???
That error actually appears three times in the second screenshot of output in the first post. @Hecot have you checked your settings.php file for syntax errors?
Thanks for all your posts! What I learned is that a solution is not just as easy as I thought.
I already did a complete roll-back to an older image that was working well and I’m sure I will stick with what I have for a longer time (maybe years) and not do any update of emoncms as I don’t know what new problems will arrise!
@djh I fully support your quote! A colleague just said “home automation is what model railways was in the 80 ties - a nice toy for boys at heart!”
Meanwhile I’ve purchased a SSD and will run emoncms from there - problem solved!