What's new
  • 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!

why entware-setup.sh need run twice

chu

Occasional Visitor
it failed in first run

then works after retry
 

Attachments

  • entware_error.png
    entware_error.png
    16 KB · Views: 738
it failed in first run

then works after retry
That's not normal and I have never seen that installer fail at that time.
Looks like it encountered an error during the creation of the /jffs/scripts files and simply exited.
The "tar: ... No such file or directory" error is normal, you can ignore that.

During your second run, the jffs/scripts files will be created new.
Just run it again, it very likely will succeed.
If not, copy the file /usr/sbin/entware-setup.sh to the /tmp location and add set -x to the top of the file for more verbose output:
Code:
#!/bin/sh
set -x
Then run the installer from the temp location.
This will show exactly where it fails if it happens again.
Post complete output if it does.
 
That's not normal and I have never seen that installer fail at that time.
Looks like it encountered an error during the creation of the /jffs/scripts files and simply exited.
The "tar: ... No such file or directory" error is normal, you can ignore that.

During your second run, the jffs/scripts files will be created new.
Just run it again, it very likely will succeed.
If not, copy the file /usr/sbin/entware-setup.sh to the /tmp location and add set -x to the top of the file for more verbose output:
Code:
#!/bin/sh
set -x
Then run the installer from the temp location.
This will show exactly where it fails if it happens again.
Post complete output if it does.


since it works at 2th , I installed lot of app running already

so I can't reproduce it, but I will do it if I reset my router next time.

btw, thank you for help!
 
since it works at 2th , I installed lot of app running already

so I can't reproduce it, but I will do it if I reset my router next time.

btw, thank you for help!
yesterday my my router had
Problems, so I setup again entware, with a new flash drive plug in USB 2.0 port, it works at first time, as I remember, when flash drive plug in USB 3.0 port it need 2 times to get entware setup script working
 

Similar threads

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!
Back
Top