Grocy is a web-based self-hosted groceries & household management solution for your home.


For this guide you should be familiar with the basic concepts of


Grocy is released under the MIT license.


Your URL needs to be setup:

[isabell@stardust ~]$ uberspace web domain list
[isabell@stardust ~]$



Download grocy.

[isabell@stardust ~]$ cd /var/www/virtual/$USER
[isabell@stardust isabell]$ wget -O
Saving to: ‘’        100%[===============================>]  54,83M  12,6MB/s    in 4,4s

2020-08-26 12:09:31 (12,5 MB/s) - ‘’ saved [57489683/57489683]
[isabell@stardust isabell]$


Unpack the downloaded grocy release

[isabell@stardust isabell]$ unzip -q -d grocy
[isabell@stardust isabell]$ rm
[isabell@stardust isabell]$


If you want to only host grocy on your Uberspace (best practice since Uberspace 7) you should link your DocumentRoot to grocy’s public folder:

[isabell@stardust isabell]$ rm -f html/nocontent.html; rmdir html
[isabell@stardust isabell]$ ln -s grocy/public html
[isabell@stardust isabell]$

If you instead want to host grocy alongside other applications, just leave the html folder and create the link inside of it, like this:

[isabell@stardust isabell]$ ln -s public html/grocy
[isabell@stardust isabell]$

Please note that this will require further tweaking in the config file.


Copy the default config file to data/config.php and edit it to your liking

[isabell@stardust isabell]$ cd grocy
[isabell@stardust grocy]$ cp config-dist.php data/config.php
[isabell@stardust grocy]$ nano data/config.php
[isabell@stardust grocy]$

You will probably want to change the CURRENCY to EUR and CULTURE to de.

If you decided to host your grocy installation in a sub folder, also change the BASE_URL to your full url, e.g. The config file provide’s more help about this in it’s comments, so make sure to read them.

Finishing installation

Point your Browser to your installation URL (e.g. This will take a moment, as grocy will need to create the default database at first.

When prompted for a login, use admin for both username and password.


Change the default password as soon as possible, as it poses a security risk. If you don’t, anyone can access your data.



Check the update feed regularly to stay informed about the newest version.

Grocy comes with a handy update script, so just run this and copy the public files to html again.

[isabell@stardust ~]$ cd /var/www/virtual/$USER/grocy
[isabell@stardust grocy]$ bash
[isabell@stardust grocy]$

Tested with Grocy 2.7.1, Uberspace

Written by: Jonas <>