Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Asterisk console display an error on first launch #68

Open
guayomejiae opened this issue Jul 16, 2024 · 0 comments
Open

[bug]: Asterisk console display an error on first launch #68

guayomejiae opened this issue Jul 16, 2024 · 0 comments
Labels
bug Something isn't working triage Triage

Comments

@guayomejiae
Copy link

FreePBX Version

FreePBX 17

Issue Description

When you first launch Asterisk console for CLI access, you receive an error related to history file "unable to read or write".

root@freepbxv17:~# asterisk -r
Asterisk 21.3.1, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
Connected to Asterisk 21.3.1 currently running on demo-freepbxv17 (pid = 9446)

Unable to read or write history file '/root/.asterisk_history'

freepbxv17*CLI>

Operating Environment

framework: 17.0.17

os-release:
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm

uname -r: 6.1.0-22-amd64

asterisk v: Asterisk 21.3.1

fwconsole ma list:
+---------------------+-----------+-----------------------------------+-------------+-----------+
| Module | Version | Status | License | Signature |
+---------------------+-----------+-----------------------------------+-------------+-----------+
| accountcodepreserve | 17.0.0.1 | Enabled | GPLv2 | Sangoma |
| adv_recovery | | Not Installed (Locally available) | Commercial | Sangoma |
| allowlist | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| amd | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| announcement | 17.0.2.1 | Enabled | GPLv3+ | Sangoma |
| api | 17.0.1.5 | Enabled | AGPLv3+ | Sangoma |
| areminder | | Not Installed (Locally available) | Commercial | Sangoma |
| arimanager | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| asterisk-cli | 17.0.2 | Enabled | GPLv3+ | Sangoma |
| asteriskinfo | 17.0.2 | Enabled | GPLv3+ | Sangoma |
| backup | 17.0.5.56 | Enabled | GPLv3+ | Sangoma |
| blacklist | 17.0.1.2 | Enabled | GPLv3+ | Sangoma |
| broadcast | | Not Installed (Locally available) | Commercial | Sangoma |
| builtin | | Enabled | | Unsigned |
| bulkhandler | 17.0.5 | Enabled | GPLv3+ | Sangoma |
| calendar | 17.0.4.15 | Enabled | GPLv3+ | Sangoma |
| callaccounting | | Not Installed (Locally available) | Commercial+ | Sangoma |
| callback | 17.0.2.1 | Enabled | GPLv3+ | Sangoma |
| callerid | | Not Installed (Locally available) | Commercial | Sangoma |
| callforward | 17.0.1.6 | Enabled | AGPLv3+ | Sangoma |
| calllimit | | Not Installed (Locally available) | Commercial | Sangoma |
| callrecording | 17.0.3.7 | Enabled | AGPLv3+ | Sangoma |
| callwaiting | 17.0.3.4 | Enabled | GPLv3+ | Sangoma |
| cdr | 17.0.4.16 | Enabled | GPLv3+ | Sangoma |
| cdrpro | 17.0.3.19 | Enabled | Commercial | Sangoma |
| cel | 17.0.2.8 | Enabled | GPLv3+ | Sangoma |
| certman | 17.0.3.12 | Enabled | AGPLv3+ | Sangoma |
| cidlookup | | Not Installed (Locally available) | GPLv3+ | Sangoma |
| conferences | 17.0.3.2 | Enabled | GPLv3+ | Sangoma |
| conferencespro | | Not Installed (Locally available) | Commercial | Sangoma |
| configedit | 17.0.1.1 | Enabled | AGPLv3+ | Sangoma |
| contactmanager | 17.0.5.11 | Enabled | GPLv3+ | Sangoma |
| core | 17.0.9.75 | Enabled | GPLv3+ | Sangoma |
| cos | | Not Installed (Locally available) | Commercial | Sangoma |
| customappsreg | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| customcontexts | 17.0.1.3 | Enabled | GPLv2+ | Sangoma |
| dashboard | 17.0.4.3 | Enabled | AGPLv3+ | Sangoma |
| daynight | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| dictate | 17.0.1.2 | Enabled | GPLv3+ | Sangoma |
| directory | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| disa | 17.0.3 | Enabled | AGPLv3+ | Sangoma |
| donotdisturb | 17.0.2.3 | Enabled | GPLv3+ | Sangoma |
| dynroute | 17.0.3.1 | Enabled | GPLv3+ | Sangoma |
| extensionroutes | | Not Installed (Locally available) | Commercial | Sangoma |
| extensionsettings | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| fax | 17.0.3.4 | Enabled | GPLv3+ | Sangoma |
| faxpro | | Not Installed (Locally available) | Commercial | Sangoma |
| featurecodeadmin | 17.0.2 | Enabled | GPLv3+ | Sangoma |
| filestore | 17.0.2.21 | Enabled | AGPLv3 | Sangoma |
| findmefollow | 17.0.4.9 | Enabled | GPLv3+ | Sangoma |
| firewall | 17.0.1.26 | Enabled | AGPLv3+ | Sangoma |
| framework | 17.0.17 | Enabled | GPLv2+ | Sangoma |
| hotelwakeup | 17.0.1.6 | Enabled | GPLv2 | Sangoma |
| iaxsettings | 17.0.1 | Enabled | AGPLv3 | Sangoma |
| infoservices | 17.0.1 | Enabled | GPLv2+ | Sangoma |
| ivr | 17.0.6 | Enabled | GPLv3+ | Sangoma |
| languages | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| logfiles | 17.0.3.3 | Enabled | GPLv3+ | Sangoma |
| manager | 17.0.5 | Enabled | GPLv2+ | Sangoma |
| miscapps | 17.0.3 | Enabled | GPLv3+ | Sangoma |
| miscdests | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| missedcall | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| music | 17.0.4 | Enabled | GPLv3+ | Sangoma |
| outcnam | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| outroutemsg | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| paging | 17.0.3 | Enabled | GPLv3+ | Sangoma |
| pagingpro | | Not Installed (Locally available) | Commercial | Sangoma |
| parking | 17.0.2.4 | Enabled | GPLv3+ | Sangoma |
| parkpro | | Not Installed (Locally available) | Commercial | Sangoma |
| phpinfo | 17.0.1 | Enabled | GPLv2+ | Sangoma |
| pinsets | 17.0.3.2 | Enabled | GPLv3+ | Sangoma |
| pinsetspro | | Not Installed (Locally available) | Commercial | Sangoma |
| pm2 | 17.0.3.2 | Enabled | AGPLv3+ | Sangoma |
| presencestate | 17.0.2.4 | Enabled | GPLv3+ | Sangoma |
| printextensions | 17.0.1.2 | Enabled | GPLv3+ | Sangoma |
| queueprio | 17.0.1.4 | Enabled | GPLv3+ | Sangoma |
| queues | 17.0.1.9 | Enabled | GPLv2+ | Sangoma |
| queuestats | | Not Installed (Locally available) | Commercial | Sangoma |
| qxact_reports | | Not Installed (Locally available) | Commercial | Sangoma |
| recording_report | | Not Installed (Locally available) | Commercial | Sangoma |
| recordings | 17.0.2.2 | Enabled | GPLv3+ | Sangoma |
| ringgroups | 17.0.2.4 | Enabled | GPLv3+ | Sangoma |
| setcid | 17.0.1.2 | Enabled | GPLv3+ | Sangoma |
| sipsettings | 17.0.6.8 | Enabled | AGPLv3+ | Sangoma |
| sms | | Not Installed (Locally available) | Commercial | Sangoma |
| smsplus | | Not Installed (Locally available) | Commercial | Sangoma |
| soundlang | 17.0.4.1 | Enabled | GPLv3+ | Sangoma |
| sysadmin | 17.0.1.91 | Enabled | Commercial | Sangoma |
| timeconditions | 17.0.1.17 | Enabled | GPLv3+ | Sangoma |
| tts | 17.0.1.1 | Enabled | GPLv3+ | Sangoma |
| ttsengines | 17.0.1 | Enabled | AGPLv3 | Sangoma |
| ucp | 17.0.4.20 | Enabled | AGPLv3+ | Sangoma |
| userman | 17.0.6.26 | Enabled | AGPLv3+ | Sangoma |
| vmblast | 17.0.2 | Enabled | GPLv3+ | Sangoma |
| vmnotify | | Not Installed (Locally available) | Commercial | Sangoma |
| voicemail | 17.0.5.22 | Enabled | GPLv3+ | Sangoma |
| voicemail_report | | Not Installed (Locally available) | Commercial | Sangoma |
| weakpasswords | 17.0.1 | Enabled | GPLv3+ | Sangoma |
| webcallback | | Not Installed (Locally available) | Commercial | Sangoma |
| webrtc | 17.0.2.2 | Enabled | GPLv3+ | Sangoma |
+---------------------+-----------+-----------------------------------+-------------+-----------+

Relevant log output

No response

@guayomejiae guayomejiae added bug Something isn't working triage Triage labels Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Triage
Projects
None yet
Development

No branches or pull requests

1 participant