View Full Version : Weird problem with cidlookup module
stmcknig
06-09-10, 10:39 AM
So the cidlookup module gave a 404 in the FreePBX console I figured I would delete and reinstall the module, but get this error back....
The following error(s) occurred processing the uploaded file:
Could not move /persistent1/var/www/html/admin/modules/_cache/cidlookup to /persistent1/var/www/html/admin/modules/
You should fix the problem or select another file and try again.
I think /persistent1 is actually mapped to /mnt/sd and it appears the card is okay because I can create and delete a directory. I noticed this after rebooting the appliance. Is it safe to reformat the SD and reboot in case the card is oddly corrupted without losing any of my config? I have no stored voicemails to worry about....
Puzzled....
mrecoskie
06-09-10, 11:06 AM
No, I don't think reformatting the SD card and rebooting will completely work. I think some files and links will ultimately be lost. For example, everything in the asterisk spool directory and all moh files. As you can see in the /persistent/autorun/S20sdtransfer script it moves some files from persistent memory to the SD card. Second time through some of these files will not be present to move.
The real question for me is why is the cidlookup module failing ...
mrecoskie
06-09-10, 11:11 AM
I wonder if this could be caused by moving FreePBX versions ultimately causing the locally cached modules to fail. Just curious - have you updated FreePBX versions recently?
stmcknig
06-09-10, 11:30 AM
I wonder if this could be caused by moving FreePBX versions ultimately causing the locally cached modules to fail. Just curious - have you updated FreePBX versions recently?
I'm still on 2.6.0.2 - I had tried to upgrade to 2.7 some time back but it resulted in the Taiwanese characters on the LCD display which I never resolved so I just started back over with the 2.6 release.
I have the CID Superfecta module loaded and it seems to be working fine - inbound calls show the CID and get through okay so I'm not hugely distressed that I can't get the base callerid module to load for now but it is an odd error message.
This is odd from shell
ls /persistent1/var/www/html/admin/modules
ls: /persistent1/var/www/html/admin/modules/cidlookup: No such file or directory
ls: /persistent1/var/www/html/admin/modules/phpagiconf: Input/output error
_cache findmefollow.pot pinsets
announcement framework printextensions
asterisk-cli fw_ari queueprio
asterisk-cli.pot fw_fop queues
asteriskinfo fw_langpacks recordings
backup iaxsettings recordings.pot
backup.pot import.sh remove.sh
blacklist infoservices restart
callback infoservices.pot ringgroups
callforward irc sipsettings
callwaiting ivr sipstation
conferences ivr.pot speeddial
conferences.pot javassh status.sh
core languages superfecta
core.pot logfiles teletorture
customappsreg manager timeconditions
customappsreg.pot manager.pot update.sh
customcontexts miscapps versionupgrade
dashboard miscdests vmailadmin
dashboard.pot modlist.sh vmblast
daynight music voicemail
dictate music.pot voicemail.pot
disa outroutemsg warpfax
donotdisturb paging warpfax.pot
dundicheck parking warpsystemtools
featurecodeadmin pbdirectory warpsystemtools.pot
featurecodeadmin.pot phonebook weakpasswords
findmefollow phpinfo
Here's the _cache directory
/mnt/sd/var/www/html/admin/modules/_cache # ls
announcement-2.6.0.2.tgz outroutemsg-2.6.0.3.tgz
asteriskinfo-2.6.0.0.tgz paging-2.6.0.3.tgz
blacklist-2.6.0.2.tgz parking-2.6.0.2.tgz
callback-2.6.0.1.tgz pbdirectory-2.6.0.1.tgz
callforward-2.6.0.1.tgz phonebook-2.6.0.0.tgz
callwaiting-2.6.0.1.tgz phpagiconf-2.6.0.0.tgz
cidlookup phpinfo-2.6.0.0.tgz
core-2.6.0.4.tgz pinsets-2.6.0.0.tgz
daynight-2.6.0.2.tgz printextensions-2.6.0.4.tgz
dictate-2.6.0.0.tgz queueprio-2.6.0.1.tgz
disa-2.6.0.0.tgz queues-2.6.0.3.tgz
donotdisturb-2.6.0.1.tgz restart-2.6.0.1.tgz
dundicheck-2.6.0.0.tgz ringgroups-2.6.0.1.tgz
framework-2.6.0.2.tgz sipsettings-2.6.0.7.tgz
fw_ari-2.6.0.2.tgz sipstation-2.6.0.4.tgz
fw_fop-2.6.0.3.tgz speeddial-2.6.0.0.tgz
fw_langpacks-2.6.0.3.tgz timeconditions-2.6.0.0.tgz
iaxsettings-2.6.0.5.tgz upload4c0fa7d7e5f15
irc-2.6.0.0.tgz upload4c0faa450a0d0
javassh-2.6.0.0.tgz upload4c0fb8b456e2b
languages-2.6.0.0.tgz versionupgrade-2.6.0.1.tgz
logfiles-2.6.1.tgz vmblast-2.6.0.0.tgz
miscapps-2.6.0.0.tgz weakpasswords-2.6.0.1.tgz
miscdests-2.6.0.0.tgz
When I try the manual move in shell I get this
mv /persistent1/var/www/html/admin/modules/_cache/cidlookup /persistent1/var/www/html/admin/modules/
mv: cannot create directory '/persistent1/var/www/html/admin/modules/cidlookup': No such file or directory
Trying to create the directory manually gives this
/persistent1/var/www/html/admin/modules # mkdir cidlookup
mkdir: cannot create directory 'cidlookup': No such file or directory
Mad Hatter time...
stmcknig
06-09-10, 11:38 AM
Odd odder oddest....
So this succeeds....
/persistent1/var/www/html/admin/modules # mkdir stuart
/persistent1/var/www/html/admin/modules # ls
ls: ./cidlookup: No such file or directory
ls: ./phpagiconf: Input/output error
_cache findmefollow.pot pinsets
announcement framework printextensions
asterisk-cli fw_ari queueprio
asterisk-cli.pot fw_fop queues
asteriskinfo fw_langpacks recordings
backup iaxsettings recordings.pot
backup.pot import.sh remove.sh
blacklist infoservices restart
callback infoservices.pot ringgroups
callforward irc sipsettings
callwaiting ivr sipstation
conferences ivr.pot speeddial
conferences.pot javassh status.sh
core languages stuart
core.pot logfiles superfecta
customappsreg manager teletorture
customappsreg.pot manager.pot timeconditions
customcontexts miscapps update.sh
dashboard miscdests versionupgrade
dashboard.pot modlist.sh vmailadmin
daynight music vmblast
dictate music.pot voicemail
disa outroutemsg voicemail.pot
donotdisturb paging warpfax
dundicheck parking warpfax.pot
featurecodeadmin pbdirectory warpsystemtools
featurecodeadmin.pot phonebook warpsystemtools.pot
findmefollow phpinfo weakpasswords
stmcknig
06-09-10, 12:26 PM
Well I power cycled the appliance (rather than just the restart option from within the FreePBX GUI Warp Admin) and the problem has gone away. I was able to install and enable the module.
Go figure....
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.