Tostis / iocage-plugin-urbackup

0 stars 1 forks source link

wget not found #1

Open ponjadito23 opened 1 year ago

ponjadito23 commented 1 year ago

Hi, it seems the script is trying to use wget to download the sources, which is not included by default in a jail and it errors while installing the plugin with the log:

/root/post_install.sh: wget: not found
tar: Error opening archive: Failed to open 'urbackup-server-2.5.30.tar.gz'
cd: urbackup-server-2.5.30: No such file or directory
/root/post_install.sh: ./configure: not found
make: stopped in /
make: no target to make.
make: stopped in /
make: don't know how to make install. Stop
make: stopped in /
make: don't know how to make install. Stop
urbackup_server_enable: -> YES
make: don't know how to make install. Stop
Starting urbackup_server.
make: don't know how to make install. Stop
UrBackup server has been installed!

Is it possible that it could be replaced by curl? Thanks

Tostis commented 1 year ago

I can't reproduce your issue. I've tested on TrueNAS v13.0 U5.3 without problems. Try to manually install wget inside the shell pkg update pkg install wget

ponjadito23 commented 1 year ago

I'm using TrueNAS-13.0-U5.1 but I don't think that's the problem.

Installing wget with pkg gives no errors and then running the post script manually works. But I shouldn't have to do this every time I create a new jail with the plugin.

I see that in the iocage-plugin-index repo, you specified to use the wget package and curl. I don't know why it doesn't install on my end but I searched for another plugin there and it seems this is the only one that uses wget.