sudo usermod -aG sudo <username>
Resetting a lost admin password
The normal ways to recover a lost password are:
- 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.
- 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
$ 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
copy contents of .pub key from /root/.ssh
open gitlab > settings > ssh keys
paste key in field, give title, press add key
git clone https://github.com/twolfson/sexy-bash-prompt.git
cd sexy-bash-prompt && make install && source ~/.bashrc
enter root password
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
- 2 Pork Chops
- Olive oil
- Sesame oil
- Salt and pepper
- Beef bouillon
- 1 liter of water
- Handful of corn kernels
- Handful of chopped spring onions
- Long cooking noodles
- Rice cooker
- Chop the meat chops in smaller bits and fry them in a splash of olive oil, a thumb thickness of butter, a splash of mirin and a few drops of sesame oil. Season with pepper and salt.
- Fill the rice cooker bowl with a liter of water and the other ingredients. When the meat is done, add that too including the grease.
- Start rice cooker
- Done when the rice cooker is done (20 minutes)
If you updated to the latest version and the following error appears when you try to launch Themler please follow the instruction below:
Fatal error: require_once(): Failed opening required '[...]/administrator/includes/toolbar.php' (include_path='.:/usr/lib/php7.2') in [...]/templates/[theme_name]/app/index.php on line 25
- Open theme folder on the server:
index.phpfor editing in any html or text editor;
- find the line
require_once JPATH_BASE . DS . 'includes' . DS . 'toolbar.php';
and replace it with the following line:
$prefix = version_compare(JVERSION, '3.9', '>=') ? 'sub' : '';
require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php';
data.phpfile for editing and follow step 4;
manifest.phpfile for editing and follow step 4;
- start Themler.
STEP 1. Press CTRL-H to bring up the Find/Replace Dialog.
STEP 2. Choose the “Regular expressions” checkbox near the bottom of the dialog.
STEP 3.a To add “test” to the beginning of each line, type `^` in the “Find what” field, and “test” in the “Replace with” field. Then hit “Replace All”.
STEP 3.b To add “test” to the end of each line, type `$` in the “Find what” field, and “test” in the “Replace with” field. Then hit “Replace All”.
To force a scan after a manual file transfer, for example, can be done as follows:
sudo -u www-data php occ files:scan --all
Usage: files:scan [-p|--path="..."] [-q|--quiet] [-v|vv|vvv --verbose] [--all] [user_id1] ... [user_idN] Arguments: user_id will rescan all files of the given user(s) Options: --path limit rescan to the user/path given --all will rescan all files of all known users --quiet suppress any output --verbose files and directories being processed are shown additionally during scanning --unscanned scan only previously unscanned files
To automate PDF processing, you need to grab the following first from your repository:
apt-get install git qpdf exiftool pdftk poppler-utils tesseract-ocr imagemagick-6.q16
Then, install PDF Ingest into a desired folder
Enter the followind folder:
Put the files you wish to convert into SRC and type the following command:
Wait until done, then you’re done! 🙂