I don't know why, but if i clear flarum's cache i get an error "504 Gateway Time-out" when i try to acces to the forum using the browser.

I'm using Nginx with php-fpm.

I detected tis problem after update to Flarum beta 7 and cleared the cache. The error dissapear if i restore the files into assets folder.

?

ceck your error.log
so you can know how to fix this.
try to run this command php flarum cache:clear

    FebriTriHarmoko Well... i already used php flarum cache:clear, this command is what gives me the issues after cleaning the files into assets folder.

    The error.log sadly is empty.

    Cloudflare is disabled, i only use their DNS.

    Finaly could grab the error:

    2017/10/15 18:28:48 [error] 3332#3332: *94 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 7x.27.1x4.xxx, server: ******.com, request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm-voz.sock", host: "******.com", referrer: "https://******.com/"

    Ok, finaly could solve this issue. Seems that regenerating the assets files needs some time. I had to wait arround one minute after run php flarum cache:clear and things fixed.

    2 years later

    wulouzhe please use English (see our Guidelines for more information).

    4 months later

    @Zeokat @jordanjay29 i am also facing same issue after clicking on clear cache @ admin area.

    i am using CloudWays with CloudFlare. how to resolve this?

    Unable to resolve the issue, did fresh installation, but if i have data & posts, how to handle it.

    After going through the issue I came to know that issue was occurred by using re flar user management addon . Later I came to know It's incompatible addon .