On this page, you find the common errors that occur during the local installations of miniCal.
Q) . Database installation is stuck?
Ans. If you are using Apache serve then do these configurations.
check if the rewrite module is enabled.
set apache2.conf AllowOverride All to your Directory
Copy <Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
If you are using Nginx then do these configurations. Check this link for more details .
Copy fastcgi_buffers 8 16k; # default is 8 4k|8k
fastcgi_buffer_size 32k; # default is 4k|8k
fastcgi_connect_timeout 60s; # default is 60s
fastcgi_send_timeout 300s; # default is 60s
fastcgi_read_timeout 300s; # default is 60s
Copy location / {
rewrite ^/api/(.*)$ /api/index.php?/$1 last;
rewrite ^/public/(.*)$ /public/index.php?/$1 last;
try_files $uri $uri/ /index.php?/$request_uri;
}
Q). H ow to publish in apache 'api' point in the virtual host if "minical/public" and "minical/api" in the same directory?
Ans. For virtual host configuration, you can create two separate virtual hosts for Apache, something like this:
Copy <VirtualHost *:80>
DocumentRoot /var/www/html/minical/app/api/
ServerName api.your-server.com
CustomLog /usr/local/apache/logs/minical.io.access combined
</VirtualHost>
<VirtualHost *:80>
DocumentRoot /var/www/html/minical/app/public/
ServerName app.your-server.com
CustomLog /usr/local/apache/logs/minical.io.access combined
</VirtualHost>
Q). How to add extensions on local setup?
Q). SMTP settings and AWS keys are mandatory before DB installation?
Ans. No, these are not mandatory.