Linux version updates?

Linux version updates? SearchSearch

SMS & MMS Technical Forum » NowSMS NextGen (Product Support Only) » Linux version updates? « Previous || Next »
Author Message
Peter01
New member
Username: Peter01

Post Number: 1
Registered: 10-2020
Posted on Wednesday, October 14, 2020 - 06:33 pm:   

Hi,

I like the way that NowSMS NextGen allows you to download and apply updates directly in the web interface.

However, I have noticed several updates over the past week, but there have been no details about what is changed in the update.

Is there a place where I can review release notes about the updates?

Thanks!
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 8358
Registered: 10-2002
Posted on Wednesday, October 14, 2020 - 06:45 pm:   

Hi Peter,

The updates in the past week have been mostly cosmetic, minor HTML/CSS/JavaScript changes to some of the admin settings pages, and fixes relating to the update procedure itself.

I will make sure we have some release notes available when there is a more significant update.


Regards,

Bryce Norwood
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6184
Registered: 08-2008
Posted on Saturday, October 17, 2020 - 05:57 pm:   

A follow-up to Bryce's comments...

The latest update (2020.10.17) fixes some installation failures, where, in some environments, the installer was failing to prompt for the sudo/root password, when needed, resulting in installation errors.

We've also fixed several problems with terminal-based installation, where the system would try to launch a text-only web browser to complete the install, confusing the process.

We've also tested with Fedora and OpenSUSE.

Meanwhile, the update process has been stream-lined in the macOS version.

---
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6185
Registered: 08-2008
Posted on Thursday, October 22, 2020 - 06:32 pm:   

There have been some minor updates this past week, here's what has changed in version 2020.10.22 since the previous post.

A bug wax fixed where the "charset=" HTTP parameter was not being processed correctly. By default, NowSMS expects applications to use the UTF-8 character set, but this HTTP parameter can be used to indicate that a different character set is being used.

More installation fixes, including a fix for a scenario where the installer did not work when running from a path that included a directory name that included a space.

The new feature where messages and delivery reports for a user account can be forwarded via HTTP (GET, POST, JSON or XML), previously required logging in with that user account to configure the HTTP settings. These settings are now available to the admin user, who can now access these settings by editing an SMS User account. (From Admin/System Configuration, select SMS Users, then Edit.)

This next one is more for the geeks. Some customers, use PHP scripts for accounting callbacks or inbound message processing in NowSMS. In the Windows version, NowSMS can be configured to use FastCGI thru php-cgi.exe to process PHP scripts directly. (This outdated article explains the Windows setup: https://www.nowsms.com/now-sms-native-php-scripts). For Linux and macOS, NowSMS NextGen can provide the same functionality by implementing support for PHP FPM, which is the interface that Unix web servers use to interface with PHP.

This support is implemented similar to what works with our Windows version. PHP scripts will only be loaded from the /var/lib/nowsms/php directory, and must have a .php file extension.

By default, these scripts can only be accessed when logged in, and when connecting from a local IP address (e.g., http://localhost/php/test.php or http://127.0.0.1/php/test.php). To allow connections from external IP addresses, use PHPAllowRemote=Yes under the [SMSGW] header.

When configuring NowSMS to use one of these scripts, for example as an accounting callback, it is recommended to configure the callback URL as http://nowsmslocal/php/script.php. ("nowsmslocal" is a special keyword recognized by NowSMS, but will not be understood by a web browser.)

If a php directory is created, NowSMS NextGen is designed to auto-detect PHP FPM. By default, when php-fpm is running, it uses a socket named /var/run/php/php7.0-fpm.sock. NowSMS looks for /var/run/php/*.sock to hopefully account for future variations. To configure NowSMS to use a specific Unix socket interface, in the SMSGW.INI, under the [SMSGW] header, use a PHPFPMSocket= setting. For example: PHPFPMSocket=/var/run/php/php7.0-fpm.sock

On macOS, PHP is frequently installed via HomeBrew. HomeBrew uses a default configuration file that does not use a named Unix socket, but instead uses port 9000 on the localhost (127.0.0.1) interface. To configure NowSMS to interface with PHP FPM via this interface, use PHPFPMPort=9000 under the [SMSGW] header of SMSGW.INI.

--
Des
NowSMS Support

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics