Installation on NAS4Free 9.2 - Missing directories and bad flavors #2
Comments
|
Btw, please let me know if there is anything you'd like removed from the gist before making it public? (I don't think there's anything "sensitive" in there??) |
|
REPOST The logs are showing that this is a bad install. For some reason, you did not have a reliable connection to ftp.freebsd.org, and fetching of freebsd has failed. Multiple failures, which can be seen in install.log, here: https://gist.github.com/nickgrealy/6f41abca78524910bfbf#file-install-log-L93-L124 https://gist.github.com/nickgrealy/6f41abca78524910bfbf#file-install-log-L959-L966 I'm sorry that the installer continues onward regardless. Perhaps finch can be improved in such ways. Either to retry downloading, or report more clearly that an error had occurred.
Not sure why it took 6 hours. But that may also occur if some very slow or unreliable connection to freebsd servers. For everybody else it's taken 20 to 40 minutes. You should test your connection to ftp.freebsd.org before trying to re-install again. Perhaps ftp connections from that host are being blocked / throttled? For example corporate firewall or other circumstance. To be sure, I will also be installing finch from scratch again myself, in these next few days. |
|
If you want to make your gist public, please remove lines 316-740 of install.log. I've just pushed an update to suppress those passwd infos from future log files. Many thanks. https://gist.github.com/nickgrealy/6f41abca78524910bfbf#file-install-log-L316-L740 |
|
Excellent, thanks for the quick response. Looks like I overlooked those errors in the install.log. It seems to be a common problem with fetch/freebsd - https://www.google.com.au/search?q=fetch+ftp+freebsd+"appears+to+be+truncated" I'll try unsetting the FTP_PASSIVE_MODE config value and reinstall Finch tonight ( http://markmail.org/message/ke7y7guu65ee3jm7#query:+page:1+mid:ke7y7guu65ee3jm7+state:results ). If you're interested, I can let you know what fixes the issue? It'd be great if the installer failed fast on this error (fetch or tar xf failed). It'd be even better if it could additionally suggest the fix in the logs! If you can't reproduce the issue, I'd be more than happy to do any testing for you? (Not sure I'm up to the task of actually doing the fix atm) |
|
OK @nickgrealy commit 62bc553. Pushed to finch master branch. I'd really appreciate it if you can re-test ASAP, or at your earliest convenience please. So that we can make sure that nothing new is broken by these changes. Many thanks. Please let me know how you get on and provide new install.log. |
|
Yeh, looks like it's a problem with the "fetch" utility. Just trying to run the following command in a new console, results in it hanging indefinitely at 99% (it seems to ignore the timeout). I'll move this bug to the nas4free/freebsd forums. Thanks for your help. Unfortunately I can't confirm/wait it out, to confirm if the finch-bootstrap'er works with the new ftp handling. |
|
I could only find a We use You can pre-pend Of course that is no guarantee it will show you what the problem was. |
|
@nickgrealy I cannot really guess what is happening. But this new commit 8874c8a will ensure that libc symlink exists before calling fetch to download the freebsd image. You can re-try at your own discretion, it's just speculation that some missing lib https://github.com/dreamcat4/finch/blob/master/chroot/etc/finch/subr/ib___mount_system#L20-21 |
|
Thanks for that, I'll give it a go tonight (in approx 8 hrs) and I'll try truss to see if that helps show the cause. In the meantime, here's the email that was generated from last night's install. (I'll also upload the install.log tonight). It looks like the build failed (which is good), but took ~3hrs. Sorry, your Finch FreeBSD Installation has failed and is incomplete.
(It says the finch-install.log.gz is attached, but it's actually not.) |
|
Hi, thanks for that. I've added the install.log, and the logs from the truss. I've highlighted the section where I cancelled (ctrl+c). |
|
Thanks! I'll take a look at those logs files later. BTW, If you decide to re-install nas4free then please be aware that finch requires 9.2.X. |
|
So, just trying some different options, (I rolled back to rev943) I don't know why I didn't try HTTP vs FTP sooner.. HTTP protocol works, FTP doesn't! I notice that there's a different local filesize for HTTP, than for FTP (am I reading this right?) - https://gist.github.com/nickgrealy/7f1a9c63b3372be9a404#file-works-log-L7 So, I'm going to download the files (HTTP), then try running Finch Bootstrap with the --txz-distfiles-dir "{txz_distfiles_dir}" option. Any chance we can change the finch bootstrap to use HTTP instead of FTP? |
|
@nickgrealy I wasn't aware that was even possible… Thanks! Commit 2833af9 - Finch will now download over http by default. If that fails, it will re-try over active ftp. Lastly passive ftp. Timeout value reduced to 30 seconds. You may try again at your discretion. Please email me your install.log afterwards, to make sure of no further issues. |
|
@nickgrealy did it work? Anything still broken? |
|
Hey, install worked perfectly! install.log - https://gist.github.com/nickgrealy/2f07dd90ebbf7db0dd6e (nevermind the time, despite the advice of the install instructions, I installed onto the USB drive). I managed to install & start a jail without problems! I am however getting the following error when trying to update the packages. Not sure why (and I haven't had time to investigate it). If you've seen the error before, please let me know what to do. Otherwise, I'm more then satisfied that the original issue is fixed (and thank you for all your help!). |
Hi!
I've just finished installing and setting up Finch on NAS4Free 9.2.0.1. It looks great, but it took a while to get it there. I hit a multitude of errors which I've documented under the following gist:
https://gist.github.com/nickgrealy/6f41abca78524910bfbf
I'm not sure whether the issues were caused by a faulty install (which took 6 hours, 44 minutes)? But issues ranged from:
I'm just hoping to improve the process for the next person. Please take a look and let me know if you need anything clarified? I'm going to try and sanitise/cleanup the gist, so that I can make it public (so others can search and find solutions to the errors - e.g. Google > No results found for "Error: Flavor not found. default".).
Kind regards (thanks),
Nick Grealy
The text was updated successfully, but these errors were encountered: