View Issue Details

IDProjectCategoryView StatusLast Update
0000025SMS RelentlessSMS Relentlesspublic2025-03-08 09:09
ReporterHappyJoe Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformIntel Poweredge 1950OSLinux Mint CinnamonOS Version22.1
Summary0000025: SMS Relentless on Nextcloud AIO Receives SMS but Sends only to Itself
Description-Nextcloud Hub AIO10 Installed on Docker.
-Using Cloudflare tunnel for the reverse proxy.
-Using Telnyx for the provider, all the level 2 verification completed.
-SMS Relentless version 1.4.1.
-Verified that my Telnyx number supports SMS and MMS. Tried several different numbers. Currently using 10DLC.

SMS Relentless can receive messages I send to it from my cell phone, but whenever I attempt to reply, or send a message, it is received in the SMS Relentless Dashboard but there is nothing sent to the cell number. I have tried several different phones.

Only error in the log that applies is the following:
[PHP] Error: Trying to access array offset on false at /var/www/html/custom_apps/sms_relentless/lib/Service/SmsrelentlessService.php#5026
    POST /apps/sms_relentless/user/getsmsnumbers
    from 2603:3007:1205:7300:2e8:4cff:fe68:6441 by admin at Feb 27, 2025, 9:04:30 AM
There are multiple instances of the error mentioned above.

TagsNo tags attached.

Activities

DoubleBastionAdmin

2025-02-27 18:17

administrator   ~0000093

Last edited: 2025-02-27 18:35

The best way to install Nextcloud is to avoid the AIO and Docker and install Nextcloud directly on the server, as we describe in detail in the 'Install Nextcloud' chapter: https://www.doublebastion.com/install-nextcloud/ . Only in this situation you can know precisely how it gets installed and you can control everything. In general the easiest way is the worst. Installing AIO is easier, but your don't control every aspect of the installation. For example, the proper way to install SMS Relentless is inside the "/var/www/html/apps" directory, like any other app, and not inside the "/var/www/html/custom_apps" directory. The cause of this wrong installation is the fact that the Docker image is configured by default to install any app that is not created by Nextcloud into a separate directory called "custom_apps", which is created specifically for these apps.

On the official app store page of SMS Relentless it is specified that the documentation explaining the installation of the app can be found on the 'Admin documentation' page ( https://www.doublebastion.com/install-nextcloud/#install-sms-relentless ) which is a subchapter of the 'Install Nextcloud' chapter mentioned above. It is implied that Nextcloud should be installed directly on the server.

There are many ways to install Nextcloud and we can't support all of them. We support only the best of them, which is to install Nextcloud directly on the server. When you add other components to your setup, like Docker or proxy servers, it can influence message delivery both outgoing and incoming.

Also, all SMS providers insisted lately that all their clients should register their 10DLC numbers, otherwise they won't be able to send messages from their US phone numbers. They will be able to receive but not to send. The registration of each 10DLC number is indeed obligatory only for A2P (application-to-person) messages, but nowadays all messages sent from 10DLC numbers acquired from Telnyx, Twilio, Plivo, Flowroute, etc. can be considered A2P messages, although they are not automated, they are not sent in bulk, etc. In general, when the provider doesn't let you send messages because you didn't register your number, the "Status" column of the message will show: "An error occurred while trying to send the message.".

HappyJoe

2025-02-27 18:34

reporter   ~0000094

Ok, thank you for you suggestions.
I'll admit, I was under the impression that Nextcloud AIO is currently the officially supported method, which is why I went with that.
Wouldn't it be a good idea for you to use the official method?

Thanks,

DoubleBastionAdmin

2025-02-27 18:55

administrator   ~0000095

AIO is the method officially supported by Nextcloud because they consider it the easiest and most accessible to newcomers . Unfortunately, if it's the easiest and is officially supported by Nextcloud it doesn't mean that it is the best, or even preferable. The Nextcloud team did a lot of good things but they also did the mistake of officially supporting Apache instead of Nginx, although any good sysadmin knows today that Nginx is far superior to Apache, they also recommended Ubuntu, although any experienced sysadmin knows that Debian is infinitely better, and they also made other questionable recommendations on their official website, like using Redis for caching, when Memcached is faster and better.

Our entire effort was to find, describe and recommend the best FOSS applications for specific tasks and the best way of installing them in order to achieve maximum efficiency from every point of view. We wrote our Complete Guide to explain the best way of installing the best programs because the Internet if full of misleading information and any wrong choice that you make at the beginning can have severe consequences later, like losing time, patience, money spent to rent additional servers, etc.

HappyJoe

2025-02-27 19:01

reporter   ~0000096

Thanks, I appreciate that. I realize there is a lot of conflicting information out there, and while I have worked extensively as a Windows sysadmin, this is one of my first forays into Linux.

DoubleBastionAdmin

2025-02-27 19:07

administrator   ~0000097

OK.
In fact it may work with AIO also. Have you tried to disable SMS Relentless, then move its directory, "sms_relentless" from "/var/www/html/custom_apps" into "/var/www/html/apps" and then reenable the app ?

HappyJoe

2025-02-27 19:35

reporter   ~0000098

Ok, so I think I took care of the error above by the following notes:
This is to disable and move SMS Relentless directory.

```
sudo docker exec -u 33 -it nextcloud-aio-nextcloud php occ app:disable sms_relentless
```

```
sudo docker exec -it nextcloud-aio-nextcloud bash -c "mv /var/www/html/custom_apps/sms_relentless /var/www/html/apps/"
```

```
sudo docker exec -it nextcloud-aio-nextcloud bash -c "chown -R www-data:www-data /var/www/html/apps/sms_relentless"
```

```
sudo docker exec -u 33 -it nextcloud-aio-nextcloud php occ app:enable sms_relentless
```

```
sudo docker exec -u 33 -it nextcloud-aio-nextcloud php occ maintenance:repair
```

```
sudo docker exec -u 33 -it nextcloud-aio-nextcloud php occ files:scan --all
```

This is to disable, move the directory and then clear the cache in SMS Relentless.

HappyJoe

2025-03-07 21:00

reporter   ~0000099

Ok, thanks for all the help.
I solved the problem by doing the above.

One more question, is there any possible way to remove the Telnyx 600kb mms restriction? It is capable of handling more than that, but it is restricted by SMS Relentless.

Thanks,

DoubleBastionAdmin

2025-03-08 09:09

administrator   ~0000100

For the most common file formats used in MMS, which are jpeg/jpg, png and gif, the maximum size is 1024 KB, as specified in the information pop-up. Only for the other formats: ogg, mp3, mp4, pdf, vcard, txt, etc., which are less common, the limit is 600 KB. This limit is in fact imposed by certain carriers, as explained here: https://support.telnyx.com/en/articles/3102823-mms-sending-and-receiving . So, SMS Relentless just reproduces the limit imposed by tier 2 carriers, to reduce the chances of MMS being rejected at destination.

Issue History

Date Modified Username Field Change
2025-02-27 17:07 HappyJoe New Issue
2025-02-27 18:17 DoubleBastionAdmin Note Added: 0000093
2025-02-27 18:34 HappyJoe Note Added: 0000094
2025-02-27 18:35 DoubleBastionAdmin Note Edited: 0000093
2025-02-27 18:55 DoubleBastionAdmin Note Added: 0000095
2025-02-27 19:01 HappyJoe Note Added: 0000096
2025-02-27 19:07 DoubleBastionAdmin Note Added: 0000097
2025-02-27 19:35 HappyJoe Note Added: 0000098
2025-03-07 21:00 HappyJoe Note Added: 0000099
2025-03-08 09:09 DoubleBastionAdmin Note Added: 0000100