问题描述(报错内容):
能联网的服务器上已经利用docker搭建好flarum论坛,并且可以正常使用,现在想整体迁移到离线服务器上使用,使用docker save 和docker load将镜像导入离线服务器中,离线服务器已安装nginx,php,mysql等,在安装flarum时出现了问题,主页只显示标题(如下图),主页报错是:something went wrong while trying to load the full version of this site.Try hard-refreshing this page to fix the error.。config.php中的url和离线服务器的地址一致,不知道哪出问题了,求大佬指教!
我是利用以下命令安装的
创建数据库
docker run -itd \
–privileged=true \
-p 3333:3306 \
–name mysql-test1 \
-e MYSQL_DATABASE=flarum \
-e MYSQL_ROOT_PASSWORD=xxxxxm123! \
mysql:latest –character-set-server=utf8mb4 –collation-server=utf8mb4_general_ci
安装flarum
docker run -itd \
–name flarum-test1 \
–link mysql-test1 \
-p 7777:8888 \
-e FORUM_URL=‘http://192.168.x.x:7777’\
-e DB_HOST=‘mysql-test1’\
-e DB_PASS=‘xxxxxm123!’ \
-e DB_USER=‘root’ \
-e DB_PREF=‘flarum_’ \
-e FLARUM_ADMIN_USER=‘admin’\
-e FLARUM_ADMIN_PASS=‘admin@#2024’\
-e FLARUM_ADMIN_MAIL=‘58***270@qq.com’\
-e FLARUM_TITLE=‘flarum-test’ \
mondedie/flarum:latest