No worries, and there's no need to apologize. We simply have a different perspective; no harm was done, and you have nothing to apologize for.I totally agree. It's good to hear other opinions
I apologize for any inconvenience!
No worries, and there's no need to apologize. We simply have a different perspective; no harm was done, and you have nothing to apologize for.I totally agree. It's good to hear other opinions
I apologize for any inconvenience!
Yes, those new screenshots are absolutely much better. Now, I assume that all 3 were taken *after* the problem had already occurred. Perhaps you can provide the output of the shell script now, while the problem still exists, and before you try to recreate it. There might still be some clues there.I just split my scroll screenshot into 3 proper screenshots in the original post. If you or any other user would ever need it.
Exactly!Now, I assume that all 3 were taken *after* the problem had already occurred.
Unfortunately, I reconfigured the script an hour ago. I'll do the job at my earliest free time.There might still be some clues there.
I tried to reproduce the problem but didn't succeed after a few tries. I'll try to figure it out as soon as possible.while the problem still exists, and before you try to recreate it. There might still be some clues there.
Whenever you get SQLite3 errors, please provide the separate SQLite log file along with the syslog messages that you've already provided. This separate debug log file includes more details.I tried to reproduce the problem but didn't succeed after a few tries. I'll try to figure it out as soon as possible.
Anyhow, I've got hundreds of SQLite error lines during one of my trials. I'll send you a DM with the error log from spdMerlin and the two debug outputs from the shell script you provided. I believe the logged errors are very related to the loss of configuration and data, and maybe I'll lose them in a couple of hours of automatic speed tests, because of all the errors that have happened.
/opt/share/tmp/
After many hours of troubleshooting, code understanding, fixing, testing, and then doing my very first code commit in GitHub.
Finally, I submitted my very first pull request to the develop branch of spdMerlin script to address the bug of losing the "excluded" mark on interfaces when their status switch between up and down, with a minor improvement to relevant code.
Next, I'll start troubleshooting the data loss issue.. after a good break!
You’re making changes in a project you don’t have write access to. Submitting a change will write it to a new branch in your fork tarek-yag/spdMerlin, so you can send a pull request.
@ExtremeFiretop Thank you for informing me about this.
As this is my very first time making a contribution in GitHub, would you please just tell me where should I start editing the file and in which repo exactly to submit the pull request correctly?
The change right now is in a fork I had to create within my account, as I got told that I have no write access to the repository, so I'm a bit lost, a mini good hint would get me right on track.
Thanks a lot for the big help! I just submitted it successfully!Sure; it can be a bit intimating when you get started.
Let me literally do a "explain it like I'm 5" version and bare with me if I explain something you already knew or have done.
Noted. I expected this by myself when I re-prepared my pull request to be my official first!If you make your changes in your master branch and try to open a pull request against our master branch, it will automatically be denied by our workflow as we don't allow changes from outsiders to go straight to production.
Thanks a lot for the big help! I just submitted it successfully!
I figured out that I was missing the very last step only
User Interfaces get misleading sometimes when you're not very familiar with the environment, I had everything ready earlier even the subject and description of the pull request, I just missed the exact page where to submit the pull request after I left it the first time.
There are too many ways to go through!
Noted. I expected this by myself when I re-prepared my pull request to be my official first!
Well, this is a nice software developing methodology. Good luck everyone on board!
Actually, avoiding changing script config from the Web GUI at the time of inspecting the first issue (excluded interfaces issue), allowed me to get very oriented in troubleshooting the root cause of both bugs. Now that I believe I would never be able to reproduce the data loss bug from within the CLI, I saved myself a lot of time already!!2- For the mean time, I'm avoiding changing any script configuration from the Web GUI, because since I first reported the issue, every time I reproduced the issue was when I changed config from the Web GUI. It might not be related at all, but I'm trying to rule out more scenarios. I'll work again on reproducing the complete data loss issue right after figuring out what exactly is repeatedly re-enabling VPNC1 automatic speed test.
5- After the script switches itself back to JFFS storage, you'll start getting into real trouble through accumulating other errors and issues and that's when SQLite errors kick-in very seriously!! Even if you keep experimenting and testing, you'll end up with a total mess that might prevent you from even re-installing the script without going through a manual cleaning for all residue files both in JFFS and USB script storage locations.3- Endless SQLite errors back then seemed to appear after I started having complete data losses, so I'll begin troubleshooting this after getting done with the previous two points of inspection.
I know and I totally understand. Please keep in mind the huge technology advancement you have in your hands (RT-BE88U) compared to my ancient RT-AC68U router, which is barely keeping-up and struggling still. Can you just imagine that the process of "Retrieving data for WebUI charts..." step takes a bit less than a minute each time I get a successful speed test? See?It's strange.
I totally agree with you, even I myself didn't have any issues before I lost the last hope of getting a better internet connection in the near future, and then everything went to the worse and is still going to the worst!!I've never had any issues with the current (and several previous) version of spdMerlin, not even when changing settings in the GUI.
Unfortunately, it's not a specific setting or value at all. I was able to make the script crash and lose data by simply submitting the same settings from the Web GUI while having duplicate files in both JFFS and USB storage locations.Is there any specific setting and value I can try so I could duplicate what you're experiencing?
2- Different residue files in the JFFS storage folder lead to different ways and results of data loss when the script randomly switches back from USB storage to JFFS storage. So, the more residue files, the more possibilities of data loss you get.
I totally agree! I'm still awaiting OSR team replies anyways.Wouldn't hurt to have other eyes on this issue
Thanks A LOT for bringing this up for me! While we were rapidly busy replying one after another, I missed your post edit!! This now should make a HUGE difference to you and the others, as it will surely show every single issue I had and every effort I spent, on a whole new level of clarity for everyone!!*edit* I too have remnants of spdMerlin in the /jffs/addons folder, mainly just htm files for building the results graphs. All csv results are stored on the USB.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!