Bookstack: Overwriting Application name on two different instances

Created on 26 Mar 2020  路  4Comments  路  Source: BookStackApp/BookStack

Yesterday I installed two instances of the Bookstack App.

  1. Bookstack App is installed in folder: /opt/bookstack/app1/BookStack
  2. Bookstack App is installed in folder: /opt/bookstack/app2/BookStack

Both instances have been configured to use different databases, different subdomains and have different URLs configured which were configured in .env respectively.

Now when I set the Application name from within the web settings, the app name is being changed on both instances. At least that is what is being shown within the browser.

when checking "settings" table in the databses i can see that the app name is different.

Most helpful comment

Hi @ssddanbrown!
That was smart. That solved my problem. Just switched one instace to redis and everything seems fine. I was too lazy to get into setting up two memcached instances.

Problem solved for me!

All 4 comments

Hi @nobdev,
Have you configured any cache settings at all?

Settings, such as app-name, go through a layer of back-end caching so if the two instance use the same system for caching (Memcached or Redis) you may get some interference.

Hi @ssddanbrown!
That was smart. That solved my problem. Just switched one instace to redis and everything seems fine. I was too lazy to get into setting up two memcached instances.

Problem solved for me!

Alternatively we do have support for different prefixes:

# Cache key prefix
# Can be used to prevent conflicts multiple BookStack instances use the same store.
CACHE_PREFIX=bookstack

Could use the same store with different key prefixes per system.

Problem was based on a misconfigured memcached setup.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gab-cass picture gab-cass  路  3Comments

marcvef picture marcvef  路  3Comments

spiritedfang picture spiritedfang  路  4Comments

tpetrauskas picture tpetrauskas  路  4Comments

Abijeet picture Abijeet  路  3Comments