[ASTPPCOM-492] Install ASTTP 3.6 from scratch on Debian 8 results in a blank page Created: 06/Mar/19  Updated: 26/Oct/19  Resolved: 30/Apr/19

Status: Done
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task
Reporter: drenda Assignee: (Community) DN (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi,
I installed ASTTP 3.6 from scratch using the installer. The installation process worked fine but when I access to the ip:8089 port I see a blank page.

Furthemore I see there isn't a ASTTP database in Mysql.

What's wrong? Thanks



 Comments   
Comment by Samir Doshi [ 07/Mar/19 ]

Check if nginx service up or not. If up and still page is not loading then
check nginx logs.

Thanks,

Samir Doshi

iNextrix Technologies Pvt. Ltd.

https://www.inextrix.com

https://www.astppbilling.org

Disclaimer:

The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorized to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking action in reliance on the contents of this
information is strictly prohibited and may be unlawful. Please notify the
sender immediately and destroy all copies of this message and any
attachments contained in it.

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
03/07/19,
4:18:20 PM

On Wed, Mar 6, 2019 at 8:16 PM drenda <notifications@github.com> wrote:

> Hi,
> I installed ASTTP 3.6 from scratch using the installer. The installation
> process worked fine but when I access to the ip:8089 port I see a blank
> page.
>
> Furthemore I see there isn't a ASTTP database in Mysql.
>
> What's wrong? Thanks
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/iNextrix/ASTPP/issues/492>, or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AA6gcaUbXh197Y3fPBFt-MsM3oZ_5zoVks5vT9TTgaJpZM4bhA2E>
> .
>

Comment by drenda [ 07/Mar/19 ]

Nginx is working. Trying to access to http://mydomain.com:8089/index.php I've this error:

`2019/03/07 14:00:30 [error] 7369#7369: *12 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 95.255.117.252, server: _, request: "GET /asttp/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "voip2.mydomain.com:8089"
2019/03/07 14:00:47 [error] 7369#7369: *15 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 95.255.117.252, server: _, request: "GET /astpp/index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "voip2.mydomain.com:8089"
`

Otherwise if I access to http://mydomain.com:8089/ no logs are created. In both cases I've a blank page.

Thanks

Comment by Samir Doshi [ 08/Mar/19 ]

@Kavin Chauhan <kavin.chauhan@inextrix.com>

Please have a look.

Thanks,

Samir Doshi

iNextrix Technologies Pvt. Ltd.

https://www.inextrix.com

https://www.astppbilling.org

Disclaimer:

The information contained in this communication is confidential and may be
legally privileged. It is intended solely for the use of the individual or
entity to whom it is addressed and others authorized to receive it. If you
are not the intended recipient you are hereby notified that any disclosure,
copying, distribution or taking action in reliance on the contents of this
information is strictly prohibited and may be unlawful. Please notify the
sender immediately and destroy all copies of this message and any
attachments contained in it.

On Thu, Mar 7, 2019 at 6:33 PM drenda <notifications@github.com> wrote:

> Nginx is working. Trying to access to http://mydomain.com:8089/index.php
> I've this error:
>
> 2019/03/07 14:00:30 [error] 7369#7369: *12 FastCGI sent in stderr:
> "Primary script unknown" while reading response header from upstream,
> client: 95.255.117.252, server: _, request: "GET /asttp/index.php
> HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "
> voip2.mydomain.com:8089" 2019/03/07 14:00:47 [error] 7369#7369: *15
> FastCGI sent in stderr: "Primary script unknown" while reading response
> header from upstream, client: 95.255.117.252, server: _, request: "GET
> /astpp/index.php HTTP/1.1", upstream:
> "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "
> voip2.mydomain.com:8089"
>
> Otherwise if I access to http://mydomain.com:8089/ no logs are created.
> In both cases I've a blank page.
>
> Thanks
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/iNextrix/ASTPP/issues/492#issuecomment-470517096>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/AA6gcV3dn-mTagSHEDk5qSONmkAJXZlnks5vUQ43gaJpZM4bhA2E>
> .
>

Comment by (Community) DN (Inactive) [ 12/Mar/19 ]

[~drenda]
1. check open_short_tag in php.ini under fpm, it should be set to On

2. check DB connection in /var/lib/astpp/astpp-config.conf
confirm they are correct by connecting mysql from linux terminal using the exact same username, password, hostname and database name.

mysql -h<same_host_as_script> -u<same_unm_as_script> -p <same_db_name_as_script>

Is it connecting?

Comment by drenda [ 12/Mar/19 ]

Hi,

1. short_open_tag is set to Off
2. about the db, like I said, I'm able to connect to Mysql but there isn't
the astpp database

I think there is something wrong in the script because I did a scratch
installation 2 times with the same result.

Il giorno mar 12 mar 2019 alle ore 18:47 Devang Nathwani <
notifications@github.com> ha scritto:

> [~drenda] <https://github.com/drenda>
>
> 1.
>
> check open_short_tag in php.ini under fpm, it should be set to On
> 2.
>
> check DB connection in /var/lib/astpp/astpp-config.conf
> confirm they are correct by connecting mysql from linux terminal using
> the exact same username, password, hostname and database name.
>
> mysql -h<same_host_as_script> -u<same_unm_as_script> -p
> <same_db_name_as_script>
>
> Is it connecting?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/iNextrix/ASTPP/issues/492#issuecomment-472109314>, or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/ADQx5uibyzsWXQjIuiJaYZEmP9VP8e4iks5vV-gwgaJpZM4bhA2E>
> .
>


Daniele Renda

Comment by drenda [ 15/Mar/19 ]

Any news about that? I'm not able to install ASTPP from the installer.

Comment by tridcatij [ 20/Mar/19 ]

Same issue with Centos 7

P.S.

My installation went ok, when I didn't install fail2ban

Comment by aztrock [ 26/Mar/19 ]

Same issue debian 8.

(Community) DN point two resolved

Comment by tcreek [ 21/Apr/19 ]

The install script is bugged, and has been bugged for a long time. It will fail 100% of the time on both CentOS 7 and Debian 8 if you just following their "guide" which is basically just saying to run it. I have tried it many times in the past couple of years, and it always fails when trying to install on minimal installs. I just tried it just a while ago on CentOS 7, and yet another successful fail.

With some changes on the installation on a local machine, I was able to successfully get ASTPP installed on Debian 8 after some help from some others . During the package selection, you choose Desktop Environment, SSH Server, and Standard System Utilities. This is the ONLY way I have been successfully install ATSPP on anything

I tried to replicate this on Digital Ocean a couple of weeks ago by uploading a custom image in which I had more control over, and the install script still fails. The developers have constantly denied there is anything wrong with the script, as I have shown it is bugged. It should not be this hard.

Debian 8 is not even available anymore on Digital Ocean. In addition, parts of the the Debian 8 repos are starting to be removed as it prepares for EOL next year.

https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html

Is there movement for Debian 9 support yet?

Comment by tcreek [ 30/Apr/19 ]

This really needs to be changed to BUG. It's not a discussion.

Here is my latest attempt using this so-called "Quick Installation."

Not sure how you expect to have a successful project by ignoring something so major like this.

Normalize ASTPP for Debian
touch: cannot touch ‘/var/log/nginx/astpp_access_log’: No such file or directory
touch: cannot touch ‘/var/log/nginx/astpp_error_log’: No such file or directory
touch: cannot touch ‘/var/log/nginx/fs_access_log’: No such file or directory
touch: cannot touch ‘/var/log/nginx/fs_error_log’: No such file or directory
Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service failed to load: No such file or directory.
nginx: unrecognized service
/bin/cp: cannot stat ‘/usr/src/latest/freeswitch/scripts/*’: No such file or directory
/bin/cp: cannot stat ‘/usr/src/latest/freeswitch/fs’: No such file or directory
/bin/cp: cannot stat ‘/usr/src/latest/freeswitch/sounds/*.wav’: No such file or directory
Installing ASTPP web interface
cp: cannot stat ‘/usr/src/latest/config/astpp-config.conf’: No such file or directory
cp: cannot stat ‘/usr/src/latest/config/astpp.lua’: No such file or directory
Directory created /var/www/html/astpp
cp: cannot stat ‘/usr/src/latest/web_interface/astpp/*’: No such file or directory
cp: cannot stat ‘/usr/src/latest/web_interface/nginx/deb_astpp.conf’: No such file or directory
cp: cannot stat ‘/usr/src/latest/web_interface/nginx/deb_fs.conf’: No such file or directory
sed: can't read /etc/php/7.0/fpm/pool.d/www.conf: No such file or directory
sed: can't read /etc/nginx/sites-enabled/astpp.conf: No such file or directory
sed: can't read /etc/nginx/sites-enabled/astpp.conf: No such file or directory
Failed to restart nginx.service: Unit nginx.service failed to load: No such file or directory.
Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details
Generated at Sat Feb 10 07:17:38 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.