sentora / sentora-installers

Provides a central place to store, version and distribute the Sentora installer and upgrade scripts from.
GNU General Public License v3.0
154 stars 148 forks source link

Ubuntu file questions. #25

Closed TheNigelist closed 9 years ago

TheNigelist commented 9 years ago

When installing on Ubuntu, the installer installs new bind9 e.t.c files, the OS asks what we want to do with these files.

This may prove confusing to NOOBS.

TheNigelist commented 9 years ago

By hitting 'enter' the files default to the OS standard files (confirmed) which is BAD, I suggest we make the process full automated.

5050 commented 9 years ago

Which (full) version for ubuntu ?

TheNigelist commented 9 years ago

Ubuntu 14.04 LTS x86 Minimal.

I'm guessing it's all versions because that's what Ubuntu does.

5050 commented 9 years ago

I never have had it with 12.04 as 14.04, both 64b I'm reinstalling 32b version to check, because if I cannot reproduce it it will be difficult to correct... :-(

5050 commented 9 years ago

I did this morning a full install in Ubuntu 12.04-32 and Ubuntu 14.04-32 with installer beta7 without any more questions than expected., and without any problem constated too.

I'll close this issue that seems to have been corrected.

TheNigelist commented 9 years ago

I will do a test using beta7 and let you know.

TheNigelist commented 9 years ago

questions

@5050

Using beta7 (Ubuntu 14.04 LTS x86 minimal) I still get asked what I want to do with the files that Sentora installs.

If I just hit enter it defaults to Ubuntu's standard files and doesn't install any file from Sentora. People will get confused and do that.

5050 commented 9 years ago

If you read a bit above the question, you will see errors : initctl: Unable to connect to Upstart: .... and then /etc/cron.daily/upstart is missing. -> the cause is this first error. But I never get it and have no way to know why it occured. I'm afraid you have a "not standard" distribution (iso from Ubuntu have not this problem).

Searching the web for "initctl: Unable to connect to Upstart:' gave me many page, you may try it. The first page returned give a trick reported as working: https://github.com/docker/docker/issues/1024

[note : how did you got this ugly screen with two texts at the same place ? !!! :D)]

TheNigelist commented 9 years ago

That was just the first error. It also asks me whether or not to install the new bind9 conf file.

There are actually 5 questions in all.

MBlagui commented 9 years ago

I notice : installing new udev-falback-graphics.conf

This looks like an install on a desktop configuration. Far from a bare minimal os.

Could you give more details over testing config specs? Environment so we can reproduce the error?

TheNigelist commented 9 years ago

It's just an install from my VPS company.

ZPanel (Sentora) requires a minimal install and that's what I select. It would be far better if the installer didn't stop if other services are installed, because I've never had any issues with pre-installed services.

I'm going to try another install and get back to you's.

MBlagui commented 9 years ago

If you are sure that you don't have an issue nothing prevent you to edit the installer and comment the test over already installed packages. But would be bad if we default to disable that check as any experienced user can force the installer.

Will try later to add to the installer a switch like -f to force install & disable some tests.

5050 commented 9 years ago

I released the lasts pending change, that would not impact specially Ubuntu. @PS2Guy : can you give more info about the ISO used to build the VPS ? Is it possible to download this ISO somewhere ?

TheNigelist commented 9 years ago

No I don't believe I can.

I wouldn't have a clue about the iso.

I'm currently in talks with my VPS company about it.

As for that screen you asked about, I'm using Linux Mint 17 and I have a transparent terminal.

MBlagui commented 9 years ago

At least ask them for the container technology they use for the VPS: KVM/OpenVZ/Docker/LXC?

TheNigelist commented 9 years ago

I buy OpenVZ.

bambusoft commented 9 years ago

Hi all:

a) Is the upstart installed and running in your ubuntu VPS image? try: initctl --version

b) What does: lsb_release -sd returns?

c) What does udevd --v returns?

TheNigelist commented 9 years ago

root@cp:~# initctl --version initctl (upstart 1.12.1) Copyright (C) 2006-2014 Canonical Ltd., 2011 Scott James Remnant This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. root@cdn-cp:~# lsb_release -sd Ubuntu 14.04.1 LTS root@cp:~# udevd --v 204 root@cp:~#

@bambusoft

bambusoft commented 9 years ago

Your VPS seems to be ok... I can't reproduce the error, but reading the screen I see two things a) There is a problem when updating udev config b) There is a problem with the /etc/cron.daily/upstart script

It is not clear if both are related, but i think it will be better to revise repos in the ubuntu section of the installer for the openvz

What is the result if you answer D to compare?

TheNigelist commented 9 years ago

Whatever it is it's annoying because cron doesn't work and I have to manually run the daemon everytime I add a domain.

It's not really a big issue at the end of the day, because this server is just a caching server for my websites. I prefer to run Ubuntu because I feel that Varnish works better on it. If it can't be sorted for full production, I'll just switch back to CentOS 7.

5050 commented 9 years ago

@dannystyleart : Your question have nothing related to the problem reported by ps2guy. Please open a new subject in the forums. I did not noticed any break in the forum access since many month. Did you really tryed http://forums.sentora.org ?

I will remove the lasts 3 posts to leave the subject understandable.

For info : PS2Guy was using a VPS from Crissic and gave me an access on one. After spending long time trying to adapt the installer, I leaved : they are using a highly modified Ubuntu version to light as much as possible the load of their servers : cron tasks are all disabled, many packages are removed or reconfigured, etc. it is not at all a "standard" minimal Ubuntu server despite the reported name unchanged.