Skip to content

2. Technical FAQ

Hogne Titlestad edited this page Oct 24, 2023 · 5 revisions

I changed a file in friendup/interfaces/, but it still looks the same in Workspace. What's going on?

There are two different types of cache you have to be aware of when you are creating a Friend application using the repository instead of a Friend disk. The first one is the browser cache - which needs to be cleared from time to time to see your changes. The other one is the Friend Core server cache. This one buffers static files so that they do not need to be loaded into memory every time a user requests them.

The browser cache is cleared differently depending on your web browser. Please look up the specific method for your browser.

The Friend Core server cache can be flushed by selecting the "Clear cache" menu item under "System" in the Workspace menu on the top of the screen (or by pressing on the wallpaper for about a second on mobile).

How do I update my local installation after changes?

After updating your local repository you can easily update you local installation.

Assuming you local installation is not running you can run

make clean && make setup && make compile && make install

In your friendup main folder.

If your instance is running and you only want to update modules or workspace files you can run

make updatefiles

To just update those files. Note! We recommend to have an open session in a browser before running this command as you need to run the Clean cache command from the Workspace menu to force Friend Core to read the new files.

After installing, the GUI seems trashed

Make sure your database password written in cfg/cfg.ini is set in single quotes. The ini parser has problems with non alphanumeric characters. E.g.:

[DatabaseUser]
login = friendup
password = 'fh74owslj!'
host = localhost
dbname = friendup
port = 3306

Friend Core is running, but I can't access the system via localhost

Normally, you will be running Friend Core behind a proxy, like Apache2. By default, Friend Core runs on port 6502. So to access Friend OS (not using SSL in this example), type this in a browser when Friend Core is running:

http://localhost:6502/webclient/index.html

Clone this wiki locally