Problems w/ Conga/HttpCommand and Upgrade to Bullseye
Posted: Wed Jan 03, 2024 1:13 am
I have a raspberry PI 3B+ that has been happily running headless using Dyalog for years -- including since release of 18.2. It acts as the mediator between various other computers that perform smart home function and has several Conga servers and clients and many many uses of HttpCommand. It has 4 thread with each looped. For reasons of caution (I am not sure that all the other computers are as careful at separating conversations as Conga) I use :hold and tokens to separate HttpCommands and multiple uses of a short-lived conga server. With the threaded execution I also do a lot of error trapping and then I use ⎕DM occasionally to apprise me of any odd errors that crop up. This all was working fine but recently I noticed that the following error was being produced with high frequency:
DOMAIN ERROR HttpCmd[504] {0:: ⋄ ⎕NDELETE ⍵}tmpFile
I think but can't be sure that this started after updating the Dyalog packages under Buster. I believe I was originally on the version of Conga from March 2022 and this error started somewhere around 4.x. I have upgraded HttpCommand to the most recent version and am using current Conga including connecting HttpCommand to a Conga root but the above error persists.
I stupidly upgraded to Bullseye without keeping a full backup. One of my requirements is that the APL program come back up after a power failure so I have used a SystemD service to start Dyalog and the appropriate workspace. On upgrading to Bullseye the SystemD service stopped working but somehow changing the "after" target from multi-user to default.target made it start. However the workspace would seem to start and than operate fitfully when connected to Ride. (it would stop in all 4 threads and sometimes it would come to life again if I executed something from the live session. The workspace worked properly on a Windows PC. I removed and re-installed 18.2 after upgrading to Bullseye with no change. I finally discovered that if started using APL with the same command from a SSH terminal session as opposed the the SystemD service it would work properly even with Ride listening in. But it won't restart properly after a power down.
Any suggestions would be appreciated! Below are the files for the SystemD Dyalog.Service and the Runapl2019 file that has been used (eiher by SystemdD or via SSH) to start Dyalog APL.
/usr/local/bin/runapl2019
#!/bin/bash
echo "Launching Dyalog from /usr/local/bin/runapl2019
RIDE_INIT="SERVE:*:4502" /usr/bin/dyalog /home/pi/ws/piboot.dws +s -ride -q
/etc/systemd/system/dyalog.service:
[Unit]
Description=Dyalog APL Ride Startup
###After=multi-user.target
After=default.target
[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=~
StandardError=null
ExecStart=/usr/local/bin/runapl2019
Restart=always
[Install]
### WantedBy=multi-user.target
WantedBy=default.target
DOMAIN ERROR HttpCmd[504] {0:: ⋄ ⎕NDELETE ⍵}tmpFile
I think but can't be sure that this started after updating the Dyalog packages under Buster. I believe I was originally on the version of Conga from March 2022 and this error started somewhere around 4.x. I have upgraded HttpCommand to the most recent version and am using current Conga including connecting HttpCommand to a Conga root but the above error persists.
I stupidly upgraded to Bullseye without keeping a full backup. One of my requirements is that the APL program come back up after a power failure so I have used a SystemD service to start Dyalog and the appropriate workspace. On upgrading to Bullseye the SystemD service stopped working but somehow changing the "after" target from multi-user to default.target made it start. However the workspace would seem to start and than operate fitfully when connected to Ride. (it would stop in all 4 threads and sometimes it would come to life again if I executed something from the live session. The workspace worked properly on a Windows PC. I removed and re-installed 18.2 after upgrading to Bullseye with no change. I finally discovered that if started using APL with the same command from a SSH terminal session as opposed the the SystemD service it would work properly even with Ride listening in. But it won't restart properly after a power down.
Any suggestions would be appreciated! Below are the files for the SystemD Dyalog.Service and the Runapl2019 file that has been used (eiher by SystemdD or via SSH) to start Dyalog APL.
/usr/local/bin/runapl2019
#!/bin/bash
echo "Launching Dyalog from /usr/local/bin/runapl2019
RIDE_INIT="SERVE:*:4502" /usr/bin/dyalog /home/pi/ws/piboot.dws +s -ride -q
/etc/systemd/system/dyalog.service:
[Unit]
Description=Dyalog APL Ride Startup
###After=multi-user.target
After=default.target
[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=~
StandardError=null
ExecStart=/usr/local/bin/runapl2019
Restart=always
[Install]
### WantedBy=multi-user.target
WantedBy=default.target