XF 2.1 js and styles files not found after installation

chaim2003

Member
I've installed version 2.1.6 Patch 1. I use docker from https://github.com/xfrocks/docker-xenforo. I used default parameters, except host name.

Installation passed without problem, however after install, I got problem with js and styles folders.

While I'm opening any page, I get errors on any js and style file located on server.

Example:

Code:
Request URL:http://<url>:8050/js/vendor/vendor-compiled.js?_v=0b40a446

Request Method:GET

Remote Address:<ip>:8050

Status Code:

404

Version:HTTP/1.1

Referrer Policy:strict-origin-when-cross-origin

Code:
Request URL:http://<url>:8050/styles/fonts/fa/fa-regular-400.woff2

Request Method:GET

Remote Address:<ip>:8050

Status Code:

404

Version:HTTP/1.1

Referrer Policy:strict-origin-when-cross-origin


Same issue I have also once I try to upgrade existing site (Xenforo 1.5) to latest.


config.php

Code:
<?php
$config['db']['host'] = '<db>';

$config['db']['port'] = '3306';

$config['db']['username'] = '<user>';

$config['db']['password'] = '<pass>';

$config['db']['dbname'] = '<db>';


$config['debug'] = false;

$config['globalSalt'] = '<salt>';

$config['superAdmins'] = '1,4951';

$config['externalDataUrl'] = 'data';

$config['javaScriptUrl'] = 'js';
 
Back
Top Bottom