Vm: Installation script exits with error: bash /change_db_pass.sh: No such file or directory

Created on 14 Jul 2018  路  16Comments  路  Source: nextcloud/vm

Steps to reproduce

  1. download Ubuntu 18.04 OVA 2018-06-27. Version: 13.0.4
  2. extract image, convert to qcow2 and create VM using KVM/qemu
  3. boot image

Expected behaviour

I expected the installation script to run properly

Actual behaviour

installation script exit with error trying to execute change_db_pass.sh:
bash /change_db_pass.sh: No such file or directory

Server configuration

Server version: (see your admin page)
Ubuntu 18.04 OVA
VM version (Scripted install from master OR Released version)
2018-06-27. Version: 13.0.4
Updated from an older installed version or fresh install:
fresh install

Network

Do you use DHCP?
yes
Is port 80 and/or 443 open?
didn't check

Logs / Screenshots

Log file (/var/ncdata/nextcloud.log)

There is no log file in /var
There is an empty nextcloud.log in /mnt/ncdata

Installation log (command output)

see screenshot

Screenshoots

https://imgur.com/a/KZh9OXC

All 16 comments

Hmm, that's strange. It works for me.

This is the line that fails, but if the script didn't exist it should fail earlier as it gets downloaded here.

Can you please try again?

@forerunnert I think you had a temporary glitch. Can you find the file in question in /var/scripts?

It does work now so there must have been a temporary glitch somehow.

Thanks for the help!

Hello,

I'm aware this is an old thread but I am getting this same result with using the OVA in ESXi. No ncdata folder in /var/. I've tried restarting the vm and starting from re-import with same issue. I also received a warning saying that it failed to restart the OpenSSL service but I think this is unrelated?

here are screenshots:

https://imgur.com/a/0Sdc2ld

I will submit new post if no response occurrs from this due to its age...

thanks

@p27182 Hi, please download the latest OVA and try again. This is fixed long time ago.

Thanks!

Thanks for a quick response! The OVA I'm attempting to use was downloaded yesterday 6/24/2019 馃 from https://cloud.hanssonit.se/s/zjsqkrSpzqJGE9N - is this an old download location?

Also possibly worth mentioning that as soon as the startup script runs I see this output:

https://i.imgur.com/p4ARinA.png

Looking at the script though I don't see how this would cause issues down the line but I only have so much experience... The VM definitley has internet access.

thanks!

edit: forgot to tag @enoch85

@p27182 It seems like you have connectivity issues since the $SCRIPTS variable is missing. from the output in your screenshots.

Can you do a nslookup github.com and post the result?

I tried to look to see where that was defined but I guess it's over my head...

image

@enoch85 thanks again for responding!

I think you found the problem though... I will report back if this works - I think the issue was with raw.github.com

That's strange, seems like you got internet, question is how?

Just made a fresh install with the OVA and there were no issues. Sorry, this must be an issue in your setup somehow. The thing is (as I mentioned above) that the $SCRIPTS variable is missing and it's fetched via lib.sh, which needs a proper internet connection to function since the import happens via curl from Github.

@enoch85 hahah yea it worked, there was an entry in my pihole specific to raw.github.com that was blocking the requests.

I am still having some trouble with other pieces of this (domain name related potentially), if I don't figure this out int he next few days I will be contacting you for your paid support. Thanks again for your quick responses!

all I have at the moment, local functionality:

image

Great stuff! :D

Hello,

I have got the same error of @forerunnert when trying to load OVA "1TB_Nextcloud_VM_www.hanssonit.se.ova" from 08.02.2019 on VirtualBox 6.1

@enoch85 is it due to my .ova that is old or is it due to something else?

Thanks

Hi, it's due to that the OVA is old, yes.

We made major changes some time ago, and to stay up to date the best option would be to get a new one.

@enoch85 Ok, I see thank you for the quick answer.
Is it possible to get a new one ?
I have bought it on your website order #2565 but never managed to use it.

Thank you for the help

image

In other words, downloads older than 10 days has to be re-bought.

Here's some more information: https://www.techandme.se/ubuntu-20-04-and-our-vms/

Hope it helps!

Was this page helpful?
0 / 5 - 0 ratings