What's new

Recent entware update stop some addons from working

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Updating Entware packages is usually a no brainer IMHO.
While the Entware team - mainly @ryzhov_al - have all good intentions in mind with security updates bug fixes and enhancements, there are some drawbacks for certain packages.
The updates replace the packages config file. For Diversion I make sure to replace the config file for pixelserv-tls with my customized one after an Entware update - if it is invoked through amtm or Diversion or when Diversion (re)starts.

Unbound, AdGuardHome and possibly others don't have that luxury so they likely stop working should their package receive an update. So, make a backup of the config file and replace it after updates.
 
Updating Entware packages is usually a no brainer IMHO.
While the Entware team - mainly @ryzhov_al - have all good intentions in mind with security updates bug fixes and enhancements, there are some drawbacks for certain packages.
The updates replace the packages config file. For Diversion I make sure to replace the config file for pixelserv-tls with my customized one after an Entware update - if it is invoked through amtm or Diversion or when Diversion (re)starts.

Unbound, AdGuardHome and possibly others don't have that luxury so they likely stop working should their package receive an update. So, make a backup of the config file and replace it after updates.
syslog-ng is a little different. When the package updates, it sees a config file in place and leaves it alone, writing the default config file with a new name.

A forced reinstall of scribe overwrites the existing config file. When scribe restarts, it checks the config file for the version line; if it doesn't match the installed version, it changes the version in the config file to supress syslog-ng going into compatibility mode.
 
Last edited:
Updating Entware packages is usually a no brainer IMHO.
While the Entware team - mainly @ryzhov_al - have all good intentions in mind with security updates bug fixes and enhancements, there are some drawbacks for certain packages.
The updates replace the packages config file. For Diversion I make sure to replace the config file for pixelserv-tls with my customized one after an Entware update - if it is invoked through amtm or Diversion or when Diversion (re)starts.

Unbound, AdGuardHome and possibly others don't have that luxury so they likely stop working should their package receive an update. So, make a backup of the config file and replace it after updates.

Thank you!!

Please & thank you, there a resource you could point me to that provides instructions for backing up the config files (and then for replacing the newly overwritten files with the backups)…
 
Thank you!!

Please & thank you, there a resource you could point me to that provides instructions for backing up the config files (and then for replacing the newly overwritten files with the backups)…
I use winscp to copy them to a windows machine and back, if I need to.
 
syslog-ng is a little different. When the package updates, it sees a config file in place and leaves it alone, writing the default config file with a new name.

Boy, that would be nice if every entware package was so considerate. As it is, each package developers done their own thing. I use UPS NUT. At one time the NUT package updater would nuke both the init.d file and all the config files. At least now, the NUT updater will check to see if any changes to the configs were done, and if so, will copy the new package configs, but rename them to *.orig. The NUT updater still zaps my custom NUT startup script though.

I find the same sometimes with Chrony. Jack sets his own custom script up that the updater will, if run outside of AMTM, will zap.

For these reasons, before I update, I make a copy of the init.d directory, update it, then copy back the original contents. After some due diligence of course to make sure nothing drastic has been done.
 
I use winscp to copy them to a windows machine and back, if I need to.

Thank you.

Does anybody have a solution (or a resource that explains a solution) that would apply to a process for those of us not using windows machines?
Thank you!!
 
Does anybody have a solution (or a resource that explains a solution) that would apply to a process for those of us not using windows machines?
Thank you!!
You could share the entware directory on the USB drive via the router's Samba or FTP and access the files that way.

Untitled.png
 
Recent entware update stop some addons from working like adguard home and unbound., even after a reboot. Updating the addons on top of the existing installation seem to fixes the problem. fyi
Adguardhome should be untouched since its auxiliary files are not actually associated with any entware packagings, I would like for someone to confirm this if anyone has the time. I could see unbound stopped working made it appear like adguardhome was not working since it had a broken upstream- i.e. the dead unbound.

One issue I have been noticing is opkg broke once the new entware release hit the market.

example:
1662436703436.png


users had to opkg update && opkg upgrade.

I personally recommend any one using any of @thelonelycoder 's packagings to use AMTM to update and upgrade packagings.
 
Last edited:
Not sure if this is related, I had just installed Entware onto my router and found this error while creating username and password

"/opt/etc/AdGuardHome/installer: line 1108: python: not found"

Seems to be on the same link as "opkg: not found"
Seems that the error is causing login issue error "Error: control/login | invalid username or password | 400"

Newly installed AGH and now I am stuck at the login page.
 
Not sure if this is related, I had just installed Entware onto my router and found this error while creating username and password

"/opt/etc/AdGuardHome/installer: line 1108: python: not found"

Seems to be on the same link as "opkg: not found"
Seems that the error is causing login issue error "Error: control/login | invalid username or password | 400"

Newly installed AGH and now I am stuck at the login page.
As said, you need to use your AMTM terminal menu to update and upgrade you entware repository. Entware has just released a repository upgrade that snapu the old repository. It is recommended to first reboot your router before attempting the upgrade.

Once you are ready to upgrade, use the

u option in amtm terminal. It will prompt you for the rest of the upgrade questions.

Here is the manual amtm upgrade method.

Screenshot_20220906-112215_JuiceSSH.jpg


If none of these solutions solve the issue, then your entware repository may simply be corrupt which could be caused by numerous possibilities, one of which might be bad memory storage. As a last resort you may have to start out with a fresh amtm and entware on a different usb storage device.

The errors you are running into with the installer are caused from the installer not being able to utilize the entware tools in your repo. which are deemed necessary to encrypt your password for adguardhome.

The error 400 is a side effect of not being able to generate a readable password for adguardhome. As a side note, Make sure the password and user names you are trying to use are not too long or have any strange characters. I am not sure if that would have a factor, but it should be tried to help eliminate it as a possible problem.
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top