Unusual balance differences in Invoice Ninja

Probably caused by utilizing the wrong method in an older version, where one had to manually enter the paid amount instead of selecting “mark invoice paid”

Step 1. Check the affected clients and make sure that the actual paid sum is correct, regardless what the “minus” amount says.

Step 2. Make a backup, or find a proper host where you can do an easy roll-back in case you mess up.

Step 3. Open the database of Invoice Ninja and find the “clients” table

Step 4. In the column “Balance” you will see a negative amount. Double-click in that field, enter 0.00 (zero-point-zero-zero) and press enter.


Downgrade unRAID 6.7.2 to 6.6.7

Due to CONTINUOUS database corruptions I was forced to downgrade my unRAID back to 6.6.7 to see if that fixes the corruption issue. It’s really terrible and apparently hard to fix because LimeTech has not fixed the issue yet, not is is acknowledged as an issue.

1. download the following file


2. Extract the files on your drive

3. Ditch all extracted files except these:


4. Start an FTP program like Filezilla and go to the /boot/ folder


6. Remove the files from the server and upload the extracted files mentioned in step 3 onto the server.

7. Check the date of the files on the server and make sure it’s 777 and root:root

8. Restart the server and you’re back at 6.6.7

Good luck.

Add backports to your sources.list

Backports are recompiled packages from testing (mostly) and unstable (in a few cases only, e.g. security updates) in a stable environment so that they will run without new libraries (whenever it is possible) on a Debian stable distribution

Backports cannot be tested as extensively as Debian stable, and backports are provided on an as-is basis, with risk of incompatibilities with other components in Debian stable. Use with care!

It is therefore recommended to select single backported packages that fit your needs, and not use all available backports.

  1. touch /etc/apt/sources.list.d/backports.list
  2. nano /etc/apt/sources.list.d/backports.list
  3. Add the following line and then save it:
    deb http://deb.debian.org/debian buster-backports main
  4. apt-get update
  5. apt-get -t buster-backports install "package"

source: https://backports.debian.org/Instructions/

Square pancakes

  • 150 Gram of flour
  • Pinch of salt
  • Half a sachet of baking powder (so for 250gr of flour)
  • 1 Egg
  • 250 ml Whole milk
  • Bottle of syrup
  • Butter
  1. Put the flour in a bowl, together with the salt, baking powder, egg and milk
  2. Mix together by hand
  3. Heat up pan, add some butter
  4. Use large soup ladle to add one portion of batter to the hot pan (there should be 4 scoops available)
  5. Flip pancake when needed
  6. Put pancake on plate, add some butter, go to item 4
  7. Meanwhile put a layer of syrup on the ready pancake
  8. Stack until done
  9. Cut to size
  10. Eat

Resetting a user’s password in NextCloud

Resetting a lost admin password

The normal ways to recover a lost password are:

  1. Click the password reset link on the login screen; this appears after a failed login attempt. This works only if you have entered your email address on your Personal page in the Nextcloud Web interface, so that the Nextcloud server can email a reset link to you.
  2. Ask another Nextcloud server admin to reset it for you.

If neither of these is an option, then you have a third option, and that is using the occ command. See Using the occ command to learn more about using the occ command.

$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
Enter a new password:
Confirm the new password:
Successfully reset password for admin

If your Nextcloud username is not admin, then substitute your Nextcloud username.

unRAID docker: /config/www/nextcloud
unRAID user: abc

$ sudo -u abc php /config/www/nextcloud/occ user:resetpassword admin