Websoft9Archive / ansible-phpapps

Automatic installation for phpApps on Linux(PHP应用自动安装程序)
Other
1 stars 3 forks source link

Update to SuiteCRM8.0 version, install wizard Not Found #49

Closed natk9 closed 2 years ago

natk9 commented 2 years ago

SuiteCRM-8.0.0 image

SuiteCRM-7.11.19 image

The directory structure has changed a lot

qiaofeng1227 commented 2 years ago

https://docs.suitecrm.com/8.x/admin/installation-guide/downloading-installing/#_1_3_configuring_url_re_writes

qiaofeng1227 commented 2 years ago
  1. path add /public
  2. set permission
natk9 commented 2 years ago

Modify the configuration file according to the official website change /etc/httpd/vhost/vhost.d DocumentRoot "/data/wwwroot/suitecrm/public" <Directory "/data/wwwroot/suitecrm/public">

Now, the website can Log in,but function cannot use. Report Internal Server Error

check logs find error [Fri Dec 10 06:07:51.228575 2021] [core:alert] [pid 4659:tid 4659] [client 103.117.101.210:54562] /data/wwwroot/suitecrm/public/legacy/.htaccess: RewriteBase: argument is not a valid URL, referer: http://184.72.171.107/

try to delete /data/wwwroot/suitecrm/public/legacy/.htaccess after delete ,website is functioning normally

Research Mod_Rewrite and .htaccess problem

natk9 commented 2 years ago

about .htaccess on /data/wwwroot/suitecrm/public/legacy/ think the parameter "RewriteBase" Setting error RewriteBase 54.163.204.89legacy/ change into RewriteBase /legacy/ then can normal run but delete parameter “RewriteBase” or change into RewriteBase //
both can run successfully Considering it is a grammatical problem

qiaofeng1227 commented 2 years ago

W846LX@XP(E0GTLBEJCO$~7

qiaofeng1227 commented 2 years ago

download without validate_certs

- name: Download {{suitecrm_name}} from {{ suitecrm_download_url }}
  unarchive:
    src: "{{ suitecrm_download_url }}"
    dest: /data/wwwroot
    remote_src: yes
    validate_certs: no