Giter VIP home page Giter VIP logo

sentora / sentora-core Goto Github PK

View Code? Open in Web Editor NEW
633.0 69.0 445.0 63.95 MB

Sentora is a web hosting control panel written in PHP for *NIX

License: GNU General Public License v3.0

PHP 77.44% Makefile 0.02% Python 0.05% CSS 1.27% JavaScript 14.14% HTML 5.00% Shell 0.02% XSLT 0.30% C 0.01% Batchfile 0.02% Roff 0.01% Dockerfile 0.01% TSQL 0.08% Twig 1.07% PLSQL 0.02% Perl 0.01% Less 0.52% Smarty 0.05%
control-panel linux centos ubuntu hosting automation automation-production-system php sentora

sentora-core's Introduction

Sentora

  • Version: 2.0.2 - In Development
  • Website
  • Forums for comments, discussion and community support.
  • Bug Tracker for any bugs or security related issues.

Description

Sentora is based on an original fork of ZPanelCP, Sentora is an open-source web hosting control panel written in PHP and is designed to work with Linux, UNIX and the BSDs.

Sentora is developed and maintained by the original ZPanel team members (ballen, tgates, kandrews, motters etc.)

Downloading Sentora

To use Sentora in a production environment we recommend you use our automated installers which also take care of the installation of not only Sentora but also Apache, PHP, MySQL, BIND, ProFTPd etc.

To download Sentora please use the links found on our download page.

Updating Sentora

Update your Sentora installations to the latest release version.

To update Sentora please use the links found on our update page.

License agreement

Sentora is licensed under the GNU GENERAL PUBLIC LICENSE (GPL v3) a copy of this license is provided.

Getting support

We provide excellent free (and premium) support and documentation on our website.

sentora-core's People

Contributors

5050 avatar allebb avatar alpha1125 avatar andykimpe avatar ashleyhood avatar azwyou avatar bbspike avatar caffe1neadd1ct avatar crazyscience avatar diablo925 avatar dukecitysolutions avatar japp-0xlabs avatar jasondavis avatar kermitoo avatar kevinbooijink avatar lottfy avatar martinkolle avatar mblagui avatar meistrr avatar rickbakkr avatar ron-e avatar rustus avatar rynoxx avatar sosojni avatar stefanjud avatar stokes84 avatar tgates71 avatar trojanspike avatar vilhelmprytz avatar vjftw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sentora-core's Issues

Server OS icon (OS name function) no longer working

The Server OS icon is no longer displayed in the server information section. Upon further investigation this is also similar to Bug #71 in the fact that the Apache server tokens no longer provide details of the OS.

A new alternative method (possibly by checking the output of lsb_release) will now need to be used instead.

Screenshot below demonstrate this issue (the logo does not appear as the server name is being used to target and display the OS/Distribution icon file)

screenshot 2014-10-19 00 27 53

CGI deletion.

Package manger still asks for CGI inclusion.

This has been removed from the stack so should be removed from the core.

Roundcube

i can see that the new roundcube version 1.0.0 and newer only has one config file "config.inc.php"

etc / build / config_packs / ubuntu_12_04 / roundcube / has the old config files
db.inc.php and main.inc.php

and the config.inc.php is for managesieve

Standardising ALL modules.

All modules are going to have the same structure across the board weather a folder is required or not.

i.e. All modules will have a deploy folder for easy deletion and reinstatement.

There will be 2 modules exempt from the new structure, Sentora Config & Sentora Core.

Add Shadow button in Client Manager

Just a tweak/feature request: Add a shadow button to the Client Manager module user list.
Just a matter of convenience. (of course, make a check to see if the shadow module is installed/enabled so it only shows if so)

daemon.py not running on CentOS 6.5

deamon.py doesn't seem to be running on my CentOS 6.5 installation. Domains just sit in pending for eternity.

I've looked in both the root crontab and the apache crontab and I can't find any entries at all.

Apache also didn't reload its configuration once I ran daemon.py manually. Not sure if that is related or whether that is something for a separate issue.

Russian language

Default panel (eng):
screenshot-1
Panel, after russian language installation:
screenshot

Can i fix them (menu on the second row)? This bug only when i am zadmin, if i use user profile all ok.
screenshot-2

P.S. Me and some people can help you with russian translations.
Thanks.

View hosting without domain.

Would it be possible to add something to view the files on a hosting account via a browser without having to use a domain. For example, with cPanel, you can access node.example.org/~username
and it will show the Files on the hosting for that account.
If you could, that would be great.

Remove modules.zpanelcp.com/repo from existing repo.list.

We need to remove modules.zpanelcp.com/repo from the repo.list file inside /etc/zppy-cache because the domain has been shutdown and now throws an error when you zppy update.

We will need to add add this to the update shell script to remove it from existing installs and replace it (if we have a new one) with a new repo (or leave it blank).

Named / Bind

I am just reporting this...

/etc/zpanel/configs/bind/etc/named.conf is not writing data when DNS is created.

Found out that
/var/named/data
/var/named/dynamic
has a "named" permission not "root"

Changing this "named" permission to "root" solves the issue.

sub domains limit/conflict (bug)

Hi,

It happen often that I setup hosting for test.domain.com as a full hosting while domain.com not configure here. so the only way is to add as MAIN domain.

Then when I try to add test2.domain.com it will say only way is using sub domains. BUT sub domains allow only *.test.domain.com.

This will mean I need to be forced to setup the upper level domain while I don't use it so I can unlock all subdomains?

Take for com.tn we could allow less control if domain > 4 words? ( despite I have 2 word domains).

M B

DNS Manager: ipv6 AAAA records cannot be added to match existing A records

If I have a A record for a host name, I cannot add a AAAA record with the same name

ERROR DNS NOT SAVED
Hostnames must be unique.

Suggested fix: DNS record verification modified to ensure only CNAME records must not name-collide with A or AAAA records. All other records of different type but the same name are valid (TXT record could be named the same as a A or CNAME, for example)

Currently blocking ipv6 handling on the DNS server.

Suggestion for OnDaemonRun.hook.php

Hello fellow Developers! I was working on installation option for FPM PHP on Centora 7. Centora 7 has yum version that allow it for out of box deployment. My soulution worked perfectly except, when it needs to generate new vhost without forking the file directly. The OnDaemonRun.hook.php is not capatible with apache 2.4, this why Its already being modified by installation sctipt on Centos 7 to work which is bad way to implement.

  • Make build in Capability for 2.4 and PHP-FPM
  • Declare condition for PHP-module specific options! This solution works perfect:
if ( ctrl_options::GetSystemOption( 'use_openbase' ) == "true" || ctrl_options::GetSystemOption( 'use_suhosin' ) == "true") { $line .=''. fs_filehandler::NewLine(); if ( $rowvhost[ 'vh_obasedir_in' ] <> 0 ) { $line .= 'php_admin_value open_basedir "' . ctrl_options::GetSystemOption( 'hosted_dir' ) . $vhostuser[ 'username' ] . "/public_html" . $rowvhost[ 'vh_directory_vc' ] . ctrl_options::GetSystemOption( 'openbase_seperator' ) . ctrl_options::GetSystemOption( 'openbase_temp' ) . '"'. fs_filehandler::NewLine(); } if ( $rowvhost[ 'vh_suhosin_in' ] <> 0 ) { $line .= ctrl_options::GetSystemOption( 'suhosin_value' ) . fs_filehandler::NewLine(); } $line .=''. fs_filehandler::NewLine(); }
  • Lets make (/etc/sentora/panel/etc/static/) pages really statical. Daemon creates this vhost records for all parked, bandwith exceeded, disk exceeded and parked domains. I suggest to make them html files and make them easy to declare. Now they only use php to pull $_SERVER['HTTP_HOST'] variable, which really not that necessary.
  • Error pages dont work. Assuming because we have it writing in the vhosts as _errorpages when its really without underscore.

Can i make changes and suggest a merge or its better to make it together? I dont want to put all this time forking only to find out its not the direction project is taking.

Bug: wrong open_basedir in cron tasks

each time a user creates a cron task, the open_basedir for ALL cron tasks will change to the home directory of the user who created the last cron task.

for example, this is the output of crontab -e -u apache:

\# Cron ID: 1
... -d open_basedir="/var/sentora/hostdata/USER3/:/var/sentora/temp/" /var/sentora/hostdata/USER1/public_html/...
\# End Cron ID: 1
\# Cron ID: 2
... -d open_basedir="/var/sentora/hostdata/USER3/:/var/sentora/temp/" /var/sentora/hostdata/USER2/public_html/...
\# End Cron ID: 2
\# Cron ID: 3
... -d open_basedir="/var/sentora/hostdata/USER3/:/var/sentora/temp/" /var/sentora/hostdata/USER3/public_html/...
\# End Cron ID: 3

As you see the open_basedir for all the tasks is set to /var/sentora/hostdata/USER3/:

Removing client doesn't remove all assets that are connected to that client

After removing test client, i can still find following folders and files on disk:

/etc/zpanel/panel/modules/webalizer_stats/stats/CLIENTNAME
/etc/zpanel/panel/modules/webalizer_stats/stats/CLIENTNAME/DOMAIN.com
/etc/zpanel/configs/bind/zones/DELETEDCLIENTSDOMAIN.com.txt
/var/zpanel/logs/domains/CLIENTNAME
/var/zpanel/logs/domains/CLIENTNAME/DOMAIN.com-access.log
/var/zpanel/logs/domains/CLIENTNAME/DOMAIN.com-error.log
/var/zpanel/logs/domains/CLIENTNAME/DOMAIN.com-bandwidth.log
/var/zpanel/logs/domains/CLIENTNAME/SUBDOMAIN.DOMAIN.com-access.log
/var/zpanel/logs/domains/CLIENTNAME/SUBDOMAIN.DOMAIN.com-error.log
/var/zpanel/logs/domains/CLIENTNAME/SUBDOMAIN.DOMAIN.com-bandwidth.log
/var/zpanel/vmail/DOMAIN.com

If client's web page was very active, you have bunch of logs / stats / mail on your disk that is taking up space you can use for something more useful. This gets troublesome on small VPS where you have active "traffic" of adding / removing clients. Suddenly you'r out of disk space and you have no idea why.

Implementation of new API/Webservice to replace XMWS

I intend of completely overhauling the current XML based API to a more standardised format. - I'm sure everyone agrees that this is probably wayyyy overdue! lol

The new solution will be a RESTful based web-service (which can talk both JSON and XML based on user preference - Simply by requesting the desire content-ype in the header) I will also complete the implementation of the remaining functionality for all core modules as at present only about 20% of the core functionality is covered by the core at present..

I intend to use a standard 'Resource' type design and utilising RESTful practice to CREATE (POST), READ (GET), UPDATE (PUT) and DELETE (DELETE).

DKIM DNS MySQL Truncation

There is a problem with saving the DKIM Key to the TXT database Table.

Table [zpanel_core].[x_dns]
[dn_target_vc] varchar(100)

Which is way to small for the encoded DKIM Key. Which is also still being lowercased in the PHP.

Empty file name in Sentora_Default theme

After fresh installation on Ubuntu 14.04 x64 and accessing with zadmin, the following log record is stored in /var/sentora/logs/sentora-access.log

192.168.0.20 - - [24/Oct/2014:10:18:16 -0500] "GET /etc/styles/Sentora_Default/img/os_icons/.png HTTP/1.1" 404 512 "http://sentora.domain.tld/" "Mozilla/5.0 (Windows NT 6.1; WOW64) Safari/537.36"

At some point the OS graphic filename is null or empty accesing the /etc/sentora/panel/etc/styles/Senora_Default/img/os_icons path

Unwanted domain restriction

Hello, there is an unwanted restriction which does not allow a registered sub-domain as a domain of the server.

change zsudo

Filter zsudo commands it would restrict and allow only services reload that are needed by hooks.

Also change permission to disable write for apache on zsudo and disable write too apache / ftp key hooks.

M B

Some files and directories not found

Hi there,

I get some errors during the installation. I created a Minimal Clean Centos 7 VM with nothing on it. The installation goes pretty well until almost the end. Then it starts moaning about files that are not found.

Updated:
NetworkManager.x86_64 1:0.9.9.1-28.git20140326.4dba720.el7_0.2
NetworkManager-glib.x86_64 1:0.9.9.1-28.git20140326.4dba720.el7_0.2
NetworkManager-tui.x86_64 1:0.9.9.1-28.git20140326.4dba720.el7_0.2
bash.x86_64 0:4.2.45-5.el7_0.4
ca-certificates.noarch 0:2014.1.98-70.0.el7_0
centos-release.x86_64 0:7-0.1406.el7.centos.2.5
cpp.x86_64 0:4.8.2-16.2.el7_0
dhclient.x86_64 12:4.2.5-27.el7.centos.2
dhcp-common.x86_64 12:4.2.5-27.el7.centos.2
dhcp-libs.x86_64 12:4.2.5-27.el7.centos.2
dracut.x86_64 0:033-161.el7_0.173
dracut-config-rescue.x86_64 0:033-161.el7_0.173
dracut-network.x86_64 0:033-161.el7_0.173
ethtool.x86_64 2:3.8-4.el7_0
gcc.x86_64 0:4.8.2-16.2.el7_0
gcc-c++.x86_64 0:4.8.2-16.2.el7_0
gcc-gfortran.x86_64 0:4.8.2-16.2.el7_0
glibc.x86_64 0:2.17-55.el7_0.1
glibc-common.x86_64 0:2.17-55.el7_0.1
glibc-devel.x86_64 0:2.17-55.el7_0.1
glibc-headers.x86_64 0:2.17-55.el7_0.1
gnutls.x86_64 0:3.1.18-9.el7_0
initscripts.x86_64 0:9.49.17-1.el7_0.1
iwl100-firmware.noarch 0:39.31.5.1-35.el7_0
iwl1000-firmware.noarch 1:39.31.5.1-35.el7_0
iwl105-firmware.noarch 0:18.168.6.1-35.el7_0
iwl135-firmware.noarch 0:18.168.6.1-35.el7_0
iwl2000-firmware.noarch 0:18.168.6.1-35.el7_0
iwl2030-firmware.noarch 0:18.168.6.1-35.el7_0
iwl3160-firmware.noarch 0:22.0.7.0-35.el7_0
iwl3945-firmware.noarch 0:15.32.2.9-35.el7_0
iwl4965-firmware.noarch 0:228.61.2.24-35.el7_0
iwl5000-firmware.noarch 0:8.83.5.1_1-35.el7_0
iwl5150-firmware.noarch 0:8.24.2.2-35.el7_0
iwl6000-firmware.noarch 0:9.221.4.1-35.el7_0
iwl6000g2a-firmware.noarch 0:17.168.5.3-35.el7_0
iwl6000g2b-firmware.noarch 0:17.168.5.2-35.el7_0
iwl6050-firmware.noarch 0:41.28.5.1-35.el7_0
iwl7260-firmware.noarch 0:22.0.7.0-35.el7_0
json-c.x86_64 0:0.11-4.el7_0
kernel-headers.x86_64 0:3.10.0-123.9.2.el7
kernel-tools.x86_64 0:3.10.0-123.9.2.el7
kernel-tools-libs.x86_64 0:3.10.0-123.9.2.el7
kexec-tools.x86_64 0:2.0.4-32.el7.centos.5
libdb.x86_64 0:5.3.21-17.el7_0.1
libdb-utils.x86_64 0:5.3.21-17.el7_0.1
libertas-sd8686-firmware.noarch 0:20140804-0.1.git6bce2b0.el7_0
libertas-sd8787-firmware.noarch 0:20140804-0.1.git6bce2b0.el7_0
libertas-usb8388-firmware.noarch 2:20140804-0.1.git6bce2b0.el7_0
libgcc.x86_64 0:4.8.2-16.2.el7_0
libgfortran.x86_64 0:4.8.2-16.2.el7_0
libgomp.x86_64 0:4.8.2-16.2.el7_0
libgudev1.x86_64 0:208-11.el7_0.4
libquadmath.x86_64 0:4.8.2-16.2.el7_0
libquadmath-devel.x86_64 0:4.8.2-16.2.el7_0
libstdc++.x86_64 0:4.8.2-16.2.el7_0
libstdc++-devel.x86_64 0:4.8.2-16.2.el7_0
libtasn1.x86_64 0:3.3-5.el7_0
libxml2.x86_64 0:2.9.1-5.el7_0.1
linux-firmware.noarch 0:20140804-0.1.git6bce2b0.el7_0
lzo.x86_64 0:2.06-6.el7_0.2
mariadb-libs.x86_64 1:5.5.37-1.el7_0
microcode_ctl.x86_64 2:2.1-7.1.el7_0.2
nspr.x86_64 0:4.10.6-1.el7_0
nss.x86_64 0:3.16.2-7.el7_0
nss-softokn.x86_64 0:3.16.2-2.el7_0
nss-softokn-freebl.x86_64 0:3.16.2-2.el7_0
nss-sysinit.x86_64 0:3.16.2-7.el7_0
nss-tools.x86_64 0:3.16.2-7.el7_0
nss-util.x86_64 0:3.16.2-2.el7_0
openssl.x86_64 1:1.0.1e-34.el7_0.6
openssl-libs.x86_64 1:1.0.1e-34.el7_0.6
policycoreutils.x86_64 0:2.2.5-11.el7_0.1
rsyslog.x86_64 0:7.4.7-7.el7_0
selinux-policy.noarch 0:3.12.1-153.el7_0.11
selinux-policy-targeted.noarch 0:3.12.1-153.el7_0.11
systemd.x86_64 0:208-11.el7_0.4
systemd-libs.x86_64 0:208-11.el7_0.4
systemd-sysv.x86_64 0:208-11.el7_0.4
systemtap.x86_64 0:2.4-16.el7_0
systemtap-client.x86_64 0:2.4-16.el7_0
systemtap-devel.x86_64 0:2.4-16.el7_0
systemtap-runtime.x86_64 0:2.4-16.el7_0
tuned.noarch 0:2.3.0-11.el7_0.3
yum-plugin-fastestmirror.noarch 0:1.1.31-25.el7_0

Complete!
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • epel: mirror.wbs.co.za
    No packages marked for update

-- Downloading and installing required tools...
Package sudo-1.8.6p7-11.el7.x86_64 already installed and latest version
Package 1:make-3.82-21.el7.x86_64 already installed and latest version
Package zip-3.0-10.el7.x86_64 already installed and latest version
Package unzip-6.0-13.el7.x86_64 already installed and latest version
Package chkconfig-1.3.61-4.el7.x86_64 already installed and latest version
Package curl-7.29.0-19.el7.x86_64 already installed and latest version
Package libxml2-2.9.1-5.el7_0.1.x86_64 already installed and latest version
Package zip-3.0-10.el7.x86_64 already installed and latest version
Package gcc-4.8.2-16.2.el7_0.x86_64 already installed and latest version
Package gcc-c++-4.8.2-16.2.el7_0.x86_64 already installed and latest version
Package 1:make-3.82-21.el7.x86_64 already installed and latest version
webserver01.agsys.local /etc/hostnames

-- Downloading Sentora, Please wait, this may take several minutes, the installer will continue after this is complete!
wget: unable to resolve host address ‘github.com’
[sentora_core.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of sentora_core.zip or
sentora_core.zip.zip, and cannot find sentora_core.zip.ZIP, period.
mv: cannot stat ‘/etc/sentora/sentora-core-1.0.0-beta9’: No such file or directory
rm: cannot remove ‘/etc/sentora/panel/LICENSE.md’: No such file or directory
rm: cannot remove ‘/etc/sentora/panel/README.md’: No such file or directory
rm: cannot remove ‘/etc/sentora/panel/.gitignore’: No such file or directory
chmod: cannot access ‘/etc/sentora/panel/bin/zppy’: No such file or directory
chmod: cannot access ‘/etc/sentora/panel/bin/setso’: No such file or directory
chmod: cannot access ‘/etc/sentora/panel/bin/setzadmin’: No such file or directory
2014-11-04 19:05:13 URL:https://codeload.github.com/sentora/sentora-installers/zip/1.0.0-beta3 [117951/117951] -> "sentora_preconfig.zip" [1]
/usr/bin/ld: cannot open output file /etc/sentora/panel/bin/zsudo: No such file or directory
collect2: error: ld returned 1 exit status
chown: cannot access ‘/etc/sentora/panel/bin/zsudo’: No such file or directory
chmod: cannot access ‘/etc/sentora/panel/bin/zsudo’: No such file or directory

-- Installing MySQL
Redirecting to /bin/systemctl start mariadb.service
sed: can't read /etc/sentora/panel/cnf/db.php: No such file or directory
ln -s '/usr/lib/systemd/system/mariadb.service' '/etc/systemd/system/multi-user.target.wants/mariadb.service'

-- Installing Postfix
Package 2:postfix-2.10.1-6.el7.x86_64 already installed and latest version

-- Installing Dovecot
ln -s '/usr/lib/systemd/system/dovecot.service' '/etc/systemd/system/multi-user.target.wants/dovecot.service'

-- Installing and configuring Apache
sed: can't read /etc/sentora/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php: No such file or directory
sed: can't read /etc/sentora/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php: No such file or directory
sed: can't read /etc/sentora/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php: No such file or directory
sed: can't read /etc/sentora/panel/modules/apache_admin/hooks/OnDaemonRun.hook.php: No such file or directory

-- Installing and configuring PHP
warning: /var/cache/yum/x86_64/7/epel/packages/libc-client-2007f-4.el7.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for libc-client-2007f-4.el7.1.x86_64.rpm is not installed
Importing GPG key 0x352C64E5:
Userid : "Fedora EPEL (7) [email protected]"
Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
Package : epel-release-7-2.noarch (@/epel-release-7-2.noarch)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7

Building suhosin

2014-11-04 19:07:43 URL:https://codeload.github.com/stefanesser/suhosin/zip/suhosin-0.9.36 [222563/222563] -> "suhosin.zip" [1]
Installing shared extensions: /usr/lib64/php/modules/
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.

-- Installing ProFTPD
ln -s '/usr/lib/systemd/system/proftpd.service' '/etc/systemd/system/multi-user.target.wants/proftpd.service'

-- Installing and configuring Bind
Package 32:bind-utils-9.9.4-14.el7.x86_64 already installed and latest version
Package 32:bind-libs-9.9.4-14.el7.x86_64 already installed and latest version
wrote key file "/etc/rndc.key"
ln -s '/usr/lib/systemd/system/named.service' '/etc/systemd/system/multi-user.target.wants/named.service'

-- Installing and configuring cron tasks
Package crontabs-1.11-6.20121102git.el7.noarch already installed and latest version

-- Configuring phpMyAdmin
ln: failed to create symbolic link ‘/etc/sentora/panel/etc/apps/phpmyadmin/config.inc.php’: No such file or directory

-- Configuring Roundcube
ln: failed to create symbolic link ‘/etc/sentora/panel/etc/apps/webmail/config/main.inc.php’: No such file or directory
ln: failed to create symbolic link ‘/etc/sentora/panel/etc/apps/webmail/plugins/managesieve/config.inc.php’: No such file or directory
ln: failed to create symbolic link ‘/etc/sentora/panel/etc/apps/webmail/config/db.inc.php’: No such file or directory

-- Configuring Webalizer
Error: Nothing to do

-- Configuring Sentora
/dev/fd/63: line 1078: setzadmin: command not found
/dev/fd/63: line 1079: /etc/sentora/panel/bin/setso: No such file or directory
/dev/fd/63: line 1080: /etc/sentora/panel/bin/setso: No such file or directory
/dev/fd/63: line 1083: /etc/sentora/panel/bin/setso: No such file or directory
Could not open input file: /etc/sentora/panel/bin/daemon.php
Restarting mariadb
Restarting httpd
Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details.
Restarting postfix
Restarting dovecot
Restarting crond
Restarting named
Restarting proftpd
Restarting atd

Congratulations Sentora has now been installed on your
server. Please review the log file left in /root/ for
any errors encountered during installation.

Login to Sentora at
Sentora Username :
Sentora Password :

MySQL Root Password :
MySQL Postfix Password :
MySQL ProFTPd Password :
(theses passwords are saved in /root/passwords.txt)

Restart your server now to complete the install (y/n)?

Custom ports break api connection.

If I decide to use a custom port for my Sentora installation then the api connection breaks.

Not sure how to work around this but just thought that I should report it to see if it can be fixed.

FTP Usernames (and Passwords) unexpectedly and silently truncated

When a ftp username is entered, the entry is accepted but when inserted into the database the database has a varchar(20) field for both username and password(!) - so truncates the entry. This is quite short, particularly if, for example, the domain name is used.

Simply changing the FTP username and password fields in the database to varchar(100) would sort this out, and for bonus points restrict the entry on the php side using a maxlength="100" tag on the fields (and php verification so the user knows if for some reason they or their browser ignores that)

Apache version number no longer detected and displayed on the 'Server Info' section.

The 'Server OS' is now no longer visible (due to the fact that the Apache Server tokens have been disabled).

This implementation (from using apache_get_version() function), this can be changed and details retrieved by calling a version check on the apache2/httpd binary (using the '-v' parameter).

Attached screenshot demonstrates the issue.

screenshot 2014-10-19 00 31 17

Run zpanel without MySQL root

Remove mysql root off config file and place it a file that only hook will access.

Goal in case of panel direct hack Mysql root won't be exposed.

Detected : Ubuntu 14.04 armv7l

Unexpected architecture name was returned (armv7l )
If you think it may work on your, please report it to the Sentora forum or bugtracker.

I know for sure that the sentora will work with this architecture as I install zpanel on the same architecture and even on an older architecture witch is a Raspberry Pi the architecture that is using the armv71 is a Beagle Bone Black. I also have a working zpanel latest ver working on it. can you please fix the ./sentora_install.sh installer to accpet the (armv7l ) architecture. Please here is a link to my zpanel working on this architecture zpanel.productresort.com

Database encoding

I noticed that some tables in database, for example x_profiles are in latin1 instead of utf8. This causes weird characters in UTF8 strings.

FTP Account passwords silently truncated to 32 characters by daemon

FTP Account passwords stored in database correctly, but actual account password in ProFTPd silently truncated to 32 characters. When the page is refreshed, it still shows the password in full, so the database seems to be working. I guess the daemon is truncating the password, but I haven't investigated (yet)

Sentora and Ruby on Rails Apps

Hello there, I am barely getting started with Sentora and it is absolutely awesome! I was wondering, I am trying to run a Ruby on Rails app in one of the domains I created in Sentora, how would I go about it, do I need to do any special things?

Package module still show enable CGI

Issue #1 CGI enable disable is still showing.

Issue #2 PHP enable / disable don't work as PHP for 2 reasons
vhost have ALWAYS php setting despite you disable php.
And most dangerous if you remove it from vhost (php related setup line), as php is enabled by default it would work without suhosin/open_basedir sandboxing ( tried when I remove manually php setup in vhost)

Centos 6 hosts /etc/http/conf/php.conf that need to be removed & merged into panel config.

Block access to 3rd party applications unless authenticated

Third party applications reside in /etc/zpanel/panel/etc/apps/ and are publicly available.

Tighter security could be implemented to stop anyone using these applications unless they have authenticated with the sentora panel first.

  1. Find a way to check sentora authentication before allowing each request inside this folder.
  2. Implement restriction
  3. Move roundcube to a virtual host of it's own as this app shouldn't be under such restrictions.
  4. Webalizer can be restricted further to make sure the logged in username matches the url requested

Logo on first screen seen is spelt wrong

"The open source web hositng control panel" should be
"The open source web hosting control panel"

In the log png file here:
/etc/styles/zpanelx/img/logos/sentora_logo.png
(attached in corrected version with simple raster swap of the two letters)

sentora_logo

Edit: This should be in "Art" of course...

Shadowing users

Hi Bobby :) As requested I've added the bug here...

Hi, I have just found a bug with the shadowing feature..

If I navigate in the following sequence;

Administrator>>Reseller>>Client>>

I will take me to the client as expected, but when I click end shadowing it will take me back to the Reseller... and it also thinks I've signed in as reseller. This means I must sign out of reseller and sign back in as admin.

Basically what would be ideal is when end shadowing is clicked it will go back to reseller where I can click end shadowing again to go back to admin, or from client just go strait back to admin. This is assuming I am Admin and not reseller :)

Services and other stuff.

Just done a test install using the new multi installer.

SMTP and Bind not running.

Domain still not active after 10 minutes.

Running Ubuntu 14.04 LTS x86 Minimal

Branch needed

Branch 10.1.1 is needed for installers @bobsta63 . I can't make branches on here.

Can't create new DNS records.

In DNs manager click on add new record and get redirected back to the dns manager home page with no option to create anew record.

Confirmed faulty on Ubuntu 14.04 and CentOS 7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.