Uci: Parse error (invalid command) at line 1, byte 0

Hi guys, I meet a problem after calling uci commit:
In shell:
uci commit
uci: Parse error (invalid command) at line 1, byte 0

Also I made a mistake that put a 128K file into /etc/config, is this the root cause?

After I delete the 128K file, this problem solved.
Anyone knows why? If anyone knows, can explain this?
Thanks.

Well, "uci commit" visits and parses all files at "/etc/config". If you put a non-configuration file there, I think it's normal that "uci" complaints.

3 Likes

Yes, indeed I put a non-configuration file. Thank you!!!!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.