I currently have FreePBX 17 running with Asterisk 20 on Debian 12 ARM. I am working on the install script and will make it available for those who are interested in testing. So far I have only had one issue and that is the backup/restore module is throwing an error.
“file_get_contents(/var/lib/asterisk/.ssh/id_ecdsa.pub): Failed to open stream: No such file or directory”
Anyone know how to solve that error?
Thanks,
Chris
comtech
(Com Tech)
December 29, 2023, 10:05pm
2
Is there that file and directory? Can you compare the file to a known working copy? What if you drop a working file in the DIR.
Another option might be to uninstall and reinstall the module.
The directory is there and there are 2 files. id_dsa_pri.pem and id_dsa_pub.pem.
I am going to check my 2 other Freepbx installations and see how they compare.
1 Like
csilvertooth:
id_ecdsa.pub
The directory /var/lib/asterisk/.ssh doesn’t exist in FreePBX 16. Time to do some more digging.
Well, the quick workaround is to touch id_ecdsa.pub in the directory in question. That lets the module web page appear.
dicko
(dicko)
December 29, 2023, 11:15pm
6
that directory and key will be created in the user’s ‘home’ directory when you run
ssh-keygen -t ecdsa
The asterisk user’s home directory will be the last comma separated field given by
cat /etc/passwd|grep asterisk
I think that FreePBX set’s that as /home/asterisk but raw Asterisk would set /var/lib/asterisk so you might need a ‘symlink’
system
(system)
Closed
December 28, 2024, 11:16pm
7
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.