Announcement

Collapse
No announcement yet.

Dreaded " EspoCRM API is unavailable."

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dreaded " EspoCRM API is unavailable."

    API Error: EspoCRM API is unavailable.
    Possible problems: disabled "mod_rewrite" in Apache server, disabled .htaccess support or RewriteBase issue.
    Do only necessary steps. After each step check if the issue is solved.
    =====================================

    I'm getting the above error on the final section of installation.

    + I've run the commands as displayed by the installation wizard to change file permissions as suggested.

    I have done everything as suggested in the link below:
    https://docs.espocrm.com/administrat...configuration

    I have been trying for hours to see if I could solve this but I'm out of ideas now.

    Does anyone have any suggestions that could help me please. I'm dying to use Espo, it works on my windows machine at home but that's pointless.

    Thank you so much.

    Greg.

    Machine info:
    Google Cloud VM: debian10 buster
    Mysql: 5.7
    Php 7.3






  • #2
    Hi there,
    The most common issue when mod_rewrite is enabled (sudo a2enmod rewrite) is wrong configured .htaccess support. Please check one more time carefully this step https://docs.espocrm.com/administrat...access-support.
    For example here is how it looks like in my apache2.conf file
    Code:
    AccessFileName .htaccess
    
    <Directory /var/www/html/espocrm/>
    AllowOverride All
    </Directory>
    /var/www/html/espocrm/ is a straight path to my instance.
    Last edited by Maximus; 06-04-2020, 09:17 AM.

    Comment


    • #3
      Hi Maximus, thanks you for responding. I had actually done that, what I didn't realise is that it wasn't active in the file I had it in.

      I put it in the "/etc/php/7.3/apache2/conf.d" and viola! Working!! Eureka!

      :-)

      Comment


      • #4
        Hi Grehstah, you created .htaccess into conf.d? Is it right?

        Comment

        Working...
        X