Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1328 Näkymät

Good morning,

When copying our production database using pg_basebackup to the test system the CSS of the test site becomes messed up.

Hours of digging an comparing the wrong things revealed that it might be a session(guess/assumption) problem because the web.assets.... CSS that could not be found had a URL with - in it.

Only once .local was also copied did the site appear correctly.

Is there an SQL solution to this problem? Are there cached values in .local that can perhaps be refreshed after the copy? How?

Avatar
Hylkää
Tekijä

URL with - in it should be xxxxxx-xxxxxx