Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-18290

restapps install fails if bad symlink exists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 13
    • Labels:
      None
    • ToDo:

      Description

      Attempting to install resapps fails with:

      Downloading module 'restapps'
      Processing restapps
      Verifying local module download...Verified
      Extracting...Done
      Download completed in 1 seconds
      checking for timestamp field..already exists
      In install.php line 103:
        symlink(): No such file or directory

      It was caused by an existing bad symlink, probably as a result of restoring an HA backup to a standalone install:

      lrwxrwxrwx 1 asterisk asterisk   53 Sep 15 19:27 image.php -> /drbd/httpd/www/html/admin/modules/restapps/image.php
      
      # ll /drbd/httpd/www/html/admin/modules/restapps/image.php
      ls: cannot access /drbd/httpd/www/html/admin/modules/restapps/image.php: No such file or directory

      removing the symlink /var/www/html/restapps/image.php allows the install to proceed.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fdanard Franck Danard [X] (Inactive)
                Reporter:
                lgaetz Lorne Gaetz
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.