we just released new version of Turris OS. As usual, it contains just bunch of fixes and few updates that seems small and isolated. Full release notes are as follows:
There is one know issue - ath10k-ct driver is not working, missing one more fix. We know about that and we will address it in next release but as it wasn’t working till now and therefor most likely everybody is using the official one, we decided to release nevertheless.
since I also save logs there, save long term statistics, etc, that are linked from elsewhere.
On updating, I got the following error notification:
Error from 2018/09/20 10:15:40
Updater selhal: Failed operations:
pakon/postinst: mv: can't rename '/srv/pakon/pakon.db.xz.tmp': No such file or directory
Command failed: Not found
I’m not sure if this is a significant error or not.
I’m having a similar issue as I too have a USB drives that gets mounted on /srv… It’s not been an issue in the past, and curious why the issue now emerges…
Here’s some details when I manually performed an update…
INFO:Running post-install and post-rm scripts
...
Output from foris-controller-storage-module.postinst:
+ [ -z ]
+ /etc/init.d/foris-controller restart
+ /etc/init.d/srv enable
+ mkdir -p /srv
(which seems to hang... )
I tried pressing control-C to exit the script, and then rebooted. However, some script changes did not seem to be applied as things were not fine after the reboot.
The web interface (Foris) did NOT seem to work, so I rolled-back the changes using ( schnapps rollback) and changed the update preferences configuration to Update approval needed. I’ll hold-off applying the update until the issue is resolved.
Updater error:
[string "transaction"]:317: [string "backend"]:757: Failed to stat '//srv/lxc': I/O error
I have lxc “module” enabled, but this directory hasn’t existed in my /srv for quite some time (since I don’t use containers ATM), and no previous updates had problem with that…
EDIT:
Ahh, I found out in the logs that my storage drive got remounted readonly and had some problems after the update:
What’s weird is the device sda in the log, since the device is sdb (however, for history reasons, I mount it to /mnt/sda, but that’s not a device). There is no /dev/sda device.
With latest update i cannot start foris config anymore.
My log messages contains a message about crashes:
2018-09-20 19:13:53 info procd[]: Instance lighttpd::instance1 s in a crash loop 6 crashes, 0 seconds since last crash
schnapps rollback does not solve that issue.
Can I do anything about that?
I had to manually update the lighthttpd config due to running on a non-standard port (nginx owns port 80)
To see the differences between your current config, and the new default config, you can use the following command;
With small changes such as this, the easiest way is to use the new config, and re-apply your own changes;
/etc/lighttpd/lighttpd.conf-opkg /etc/lighttpd/lighttpd.conf
The important change here is the three include lines at the bottom.
As a side note, please use code blocks when posting code (or large amount of text), such as the diff. Edit your post, and enclose it in tripple backtics (```) for a code block, such as the one in my post.
Is it possible to take out this annoying email notifications when LXC are on SD card and keep it only for internal memory ? I have 2 of those anoying emails from yesterday.
Oznámenà o chybách
You are running container pihole from internal memory which is not recommended and can severally damage your router! This is not covered by warranty! Please use storage module in Foris to move it somewhere else!
You are running container debian from internal memory which is not recommended and can severally damage your router! This is not covered by warranty! Please use storage module in Foris to move it somewhere else!
You are running container debian1 from internal memory which is not recommended and can severally damage your router! This is not covered by warranty! Please use storage module in Foris to move it somewhere else!
I see in your lighttpd config the include_shell with cat. Is it still working?
Cause my config stopped working with new lighttpd. This section is ending with error but worked for a long time without issues:
Last update caused Foris and Luci to be not accesible. I’ve checked configs , alter them (include block, writev) a bit, but still problem with parser (line 5, 233 ; eol or/and variable issue). Later i noticed that module.d folder has few files twice (just with different number prefix). Removed older ones. Still having some issues (cannot use 0.0.0.0 address) … So i removed “proxy” module and finally Foris/Luci was again up. Later in log i found some warnings about redirect/proxy modules. I was not able to find the root cause (resp. way how to fix that) …
Later i decided to rollback using schnapps and set updater to wait for confirmation.