jonmatifa / zfsmanager

ZFS administration tool for Webmin
Other
108 stars 22 forks source link

Missing file to read at zfsmanager::./zfsmanager-lib.pl line 41 #9

Closed jaimerojast closed 7 years ago

jaimerojast commented 8 years ago

when i install the zfsmanager in webmin shows me this error:

Missing file to read at zfsmanager::./zfsmanager-lib.pl line 41

am using the version 1.791 of webmin in ubuntu 14

thnks for you project.

regards.

Jaime.

mcwago commented 7 years ago

me too

jonmatifa commented 7 years ago

It may be missing /etc/webmin/zfsmanager/config in which case you should just be able to copy config from the git archive to that location.

Or it may be that it's missing the line zfsmanager_conf=/etc/webmin/zfsmanager/config from that file, in which case you can run: echo "zfsmanager_conf=/etc/webmin/zfsmanager/config" >> /etc/webmin/zfsmanager/config

or

echo "zfsmanager_conf=/etc/webmin/zfsmanager/config" | sudo tee --append /etc/webmin/zfsmanager/config

EDIT - Furthermore I think I see what the overall problem is and I may just be able to fix it directly in the code, but for now, try the steps I mentioned above.

mcwago commented 7 years ago

it works, great, thx echo "zfsmanager_conf=/etc/webmin/zfsmanager/config" >> /etc/webmin/zfsmanager/config

jonmatifa commented 7 years ago

Fixed on commit bbc0761af64129aca0c6588126e0f9bc59211524