Open fredl99 opened 5 years ago
Hi fredl99,
thank your for you request. Are you trying to send project notifications to a signal group?
Hi @stratmaster , Thanks for your attention!
No, I'm only trying to notify myself. I don't even have any groups at Signal.
Dear @fredl99,
could you please provide some informations about your settings (of course, you won't have to post your real numbers)? Especially:
By the way: With the current development version of the plugin the PHP Notices should have disappeared. See this changes: #7be9685.
Hi @stratmaster Many thanks for your reply & sorry for the delay. These are the requested settings:
My Profile -> Integrations -> Signal
Pfad zu signal-cli Config-Ordner
[empty]
Leer lassen, um globale Einstellungen zu verwenden ("/home/${USER}/.local/share/signal-cli").
Signal Benutzername
[empty]
Leer lassen, um globale Einstellungen zu verwenden ("+43XXXYYYYYYY").
Signal Empfänger
+43XXXZZZZZZZ
Settings -> Integrations -> Signal
Temporärer Ordner
/home/${USER}/tmp/
Pfad zu Java-Installation
/home/${USER}/bin/java
(Symlink: /home/${USER}/bin/java -> jre1.8.0_201/bin/java)
# additional info:
$ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
Pfad zu signal-cli Interface
/home/${USER}/bin/signal-cli
(Symlink: /home/${USER}/bin/signal-cli -> signal-cli-0.6.2/bin/signal-cli)
Pfad zu signal-cli Config-Ordner
/home/${USER}/.local/share/signal-cli
# additional info:
$ ls /home/${USER}/.local/share/signal-cli
attachments avatars data
Signal Benutzername
+43XXXYYYYYYY
the project in question: Configure this project -> Edit project -> Project owner set
Berechtigungen und Besitz Projekt-Besitzer [my Username]
Configure this project -> Integrations -> Signal
Pfad zu signal-cli Config-Ordner
[empty]
Leer lassen, um globale Einstellungen zu verwenden ("/home/c5c53fb0/.local/share/signal-cli").
Signal Benutzername
[empty]
Leer lassen, um globale Einstellungen zu verwenden ("+43XXXYYYYYYY").
Signal Empfänger-Gruppe
[empty]
I already have the latest Signal version via git. I compaired the files against the current master.zip, but there's no difference.
I feel there's something wrong about the config folder, but I have no clue which other folder to use. As mentioned, signal-cli works correctly with this setup.
Many thanks for your help! Fredl.
Settings -> Integrations -> Signal
Pfad zu signal-cli Config-Ordner
/home/${USER}/.local/share/signal-cli
I feel there's something wrong about the config folder, but I have no clue which other folder to use. As mentioned, signal-cli works correctly with this setup.
Have you allready tried to use the given folder directly with signal-cli on the command line with the --config /home/${USER}/.local/share/signal-cli
flag? Otherway you could try to change the path to something like /home/${USER}/.config/signal
for example.
I haven't tried that before, but this is what happens:
--config /home/${USER}/.local/share/signal-cli
works the same as without that option.
Using any other path leads to: User is not registered.
No matter, if the given path exists or is incomplete or doesn't exist at all.
/home/${USER}/.local/share/signal-cli
seems to be the default when --config is not used and does the same as when I enter exactly this path. And that's what I do at kanboard. Although there I also tried to leave it empty with no success.
BTW: The "Undefined variable: user" notice is gone meanwhile. So the heading of this issue was wrong now. Changed it.
Unfortunately I can't see anything else in the Logs...
Just one thought: Does your web server user (under which kanboard is running) has privileges to run signal-cli and java within the home folder?
Furthermore, does your php instance allow executing an external program via exec() command (e.g. safe mode enabled or exec
disabled in php.ini)?
Very good point, thank you! I'm feeling really stupid for not recognizing that by myself. I'll look into that after the Easter holidays.
Hi,
I have signal-cli installed an it's working fine. (i.e. can register devices, send&receive, etc.)
The Signal plugin doesn't send anything at all. The server's log gets filled with lines like this:
PHP Notice: Undefined variable: user in /var/www/virtual/c5c53fb0/sites/kanboard/plugins/Signal/Notification/Signal.php on line 80
(The line number changes)What can I do, where can I look at, what information can I provide?
Thanks in advance!