Conversation
Bug Fixes for Fresh Installs
|
Tested to confirm it resolved the mentioned issues. |
|
I fixed the update issue with the install parameter. |
I've already submitted a PR to the AMTM repo on GitHub, so the lonelycoder should be able to see the change request. |
What is this about ???? |
The above scenario is most likely the result of installing the development version (1.4.1) of the shell script on top of the production release 1.4.0 version without switching to the development branch by typing: If the user only replaces the shell script without switching branches, they end up with the version.txt file from the production release branch while running the shell script from the development branch. |
Thank you :) |
I noticed Copilot was added to Github as a new reviewer so I tried it... It didn't work xD |
For example below is a fresh install with the old version of the dev branch before my PRs were merged: As you can see; it has the reported issues with the Cron job being added, also has the issues with the WebUI trying to be mounted, and detects an update (when one isn't available since I manually incremented the version in the script) This is the contents of the settings directory after that install: It is very clearly missing the version.text (as the new source of truth) of the current version installed. (It used to be the source of truth for available updates but I see this changed) Next if I add the install parameter to the shell script, the issues go away: And the version.txt file is clearly there for comparison: |
Ah, OK. Got it. |
|
We should issue a 1.4.1 release considering this would impact any new installs until AMTM is updated. I would say it's fairly important. I'm willing to prep a PR now |
Fully agreed. I tested a fresh install on another router that I have access to, and it worked well. The "install" parameter call is made automatically by the script when the WebGUI is not found mounted and the ASP file is not found installed. The key was also doing a full initialization of the configuration file and some specific user settings. |
|
BTW, have you had a chance to test the latest script on your AiMesh node? |
I just finished testing and by just running the curl command to test the latest dev version on my AiMesh node I get the following: The configuration file is being populated: But the version.txt is missing. |









@Martinski4GitHub
Bug Fixes for fresh installs of 1.4.0
We should probably advise @decoderman to update AMTM to use the new "install" parameter.
In the meantime, I worked around it by manually downloading the .asp file if it's missing.