Skip to main content
BeRadB
Inspiring
Jul 2, 2021 12:46 PM UTC
Answered

unable to install ajax in coldfusion 2021

I am running docker destop and coldfusion 2021 local , I need the ajax package but i am unable to install it via package manager via the cfadmin or via cli. here is the error messages i get ...

 

  • An error has occurred while installing the package ajax. Please check logs for more details.

 

An error has occurred while installing the package ajax. Exception : Script folder /app/cf_scripts/scripts not found. Ajax package has been downloaded at /opt/coldfusion/bundles/ajax-2021.0.0.323925.zip. If you have created a mapping of cf_scripts folder, you can copy the contents of the downloaded zip into CF_SCRIPTS/scrips/ajax folder

 

any help would be apriciated

 

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Jobin23530543yjq9Correct answer
    Participant
    Mar 10, 2022 6:22 PM UTC

    I was able to get the ajax module to install in CF2021, I had to create the below symbolic link prior to the cfpm install

     

    ln -s /opt/coldfusion/cfusion/wwwroot/cf_scripts /app/cf_scripts

     

    I'm submitting a bug in the tracker to upvote.

     

    https://tracker.adobe.com/#/view/CF-4212864

    2 replies

    Jobin23530543yjq9Correct answer
    Participant
    Mar 10, 2022 6:22 PM UTC

    I was able to get the ajax module to install in CF2021, I had to create the below symbolic link prior to the cfpm install

     

    ln -s /opt/coldfusion/cfusion/wwwroot/cf_scripts /app/cf_scripts

     

    I'm submitting a bug in the tracker to upvote.

     

    https://tracker.adobe.com/#/view/CF-4212864

    Translate
    BKBK
    Community Expert
    Community Expert
    Jul 3, 2021 7:13 PM UTC

    I am on Windows 10, but can share with you a method that works for me. I followed these steps:

    1. Open the CMD prompt as Administrator. Change directory, using DOS, to the location of the package-installer, cfpm.bat. The location is C:\ColdFusion2021\cfusion\bin. Uninstall the ajax package using the DOS command cfpm uninstall ajax
    2. Restart ColdFusion.
    3. Install the ajax package using the DOS command cfpm install ajax

     

     

     

    Translate