Forum Discussion
jonathan_239725
Nimbostratus
Apr 05, 2017Error every time I load a tar ball as a iRulesLX workspace
I keep receiving a "Data Input Error: Error: tar file is not in correct format. Expected to find directories extensions and rules" error every time I load a .tgz to create a new iRulesLX workspace. ...
Satoshi_Toyosa1
Jul 23, 2017Ret. Employee
I believe you saw the following error message in /var/log/ltm:
Jul 24 14:06:05 ltm1212 err tmsh[22884]: 01420006:3: Error: tar file is not in correct format. Expected to find directories extensions and rules
This happens when the tar file is created starting from a different directory. An archive file (
tgz; the extension can also be tar.gz) must start from . (dot) under the workspace directory. e.g.,
tar ztvf sat.tgz
drwsrwsrwx user/group 0 2017-07-24 12:57 ./
drwsrwsrwx user/group 0 2017-07-24 13:56 extensions/
drwsrwsrwx user/group 0 2017-07-24 13:54 extensions/MyEXT2/
-rwSrwSrw- user/group 198 2017-07-24 13:07 extensions/MyEXT2/index.js
-rwSrwSrw- user/group 198 2017-07-24 13:54 extensions/MyEXT2/index.js
-rwSrwSrw- user/group 197 2017-07-24 13:06 extensions/MyEXT2/index.js~
....
The one below is invalid as it includes the workspace directory (here MyWS2):
C:\temp\MyWS>tar ztvf sat2.tar.gz
drwsrwsrwx user/group 0 2017-07-24 12:57 MyWS2/
drwsrwsrwx user/group 0 2017-07-24 13:56 MyWS2/extensions/
drwsrwsrwx user/group 0 2017-07-24 13:54 MyWS2/extensions/MyEXT2/
-rwSrwSrw- user/group 198 2017-07-24 13:07 MyWS2/extensions/MyEXT2/index.js
-rwSrwSrw- user/group 198 2017-07-24 13:54 MyWS2/extensions/MyEXT2/index.js
I hope this would help.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects