Added here as a public bookmark!
We collect and preserve software in source code form, because software embodies our technical and scientific knowledge and humanity cannot afford the risk of losing it.
Software is a precious part of our cultural heritage. We curate and make accessible all the software we collect, because only by sharing it we can guarantee its preservation in the very long term.
Short version of:
Archivebox Docker superuser root issues
[!] ArchiveBox should never be run as root!
The INIT line is in case you set up this docker for the first time. If you already have entered the INIT command, I don;t think you have to do it again.
- Open the UNraid Terminal
- Enter (Optional, see previous note)
docker exec -it --user archivebox archivebox bash
archivebox manage createsuperuser
Credits to “emiliobool” for their comment on April 25, 2021 @ https://github.com/ArchiveBox/ArchiveBox/issues/395
Finally, there is an official Joomla (4.x) Docker made for unRAID. But it is not done well. As in, you will lose all your settings and data when you restart your docker. So you need to copy the data outside the docker into the appdata folder. (Or wherever you want it)
Inside the docker image, the Joomla folder resides here:
And this is the folder you need to make “external” by adding a path to the edit/install panel.
- Give it a name at “Name:”
- Enter the following line to “Container Path:”
- Enter the following line to “Host Path:”
mysql -u root -p
Create a user:
create user 'newuser'@'localhost' IDENTIFIED BY 'password';
Give them all the power:
grant all privileges on * . * TO 'newuser'@'localhost';
Ditch a user: (Optional)
drop user 'newuser'@'localhost';
mysql -u newuser -p
Create a database for the user:
create database db_name;
List databases: (Optional)
Ditch database: (Optional)
drop database db_name;
Super annoying when you get locked out, innit?
It depends a bit how you have installed NextCloud but here are two possible locations for your config file:
("regular" apache install)
(when using a Docker install)
Open the config.php file and look for
'maintenance' => true,
And change this to
'maintenance' => false,
Since unraid forum is throwing a hissyfit with its captcha thing, I’ll just post it on my own website.
root@<containername>:/data# archivebox manage createsuperuser
[i] [2021-11-11 14:29:07] ArchiveBox v0.6.2: archivebox manage createsuperuser
[i] ArchiveBox should never be run as root!
For more information, see the security overview documentation:
Oh noes. Open the unraid console and type:
$ sudo docker exec -it --user archivebox <containername> /bin/bash
If you do not know the name of your docker, open the console panel of the archivebox docker and search in the url for “container=”. The number behind that is the name of your docker.
So your prompt looks like this:
archivebox manage createsuperuser
Seeing there was some SSL beepboop going on, hereby some links to help out.
General data : https://ipwhoisinfo.com/
Captain Mail server check: https://multirbl.valli.org/lookup/
Because something went wrong probably and it takes unRAID literally ages to issue an update. So here’s the fix!
(until you restart the server)
SSH into unRAID and edit this file:
replace this line:
preg_match('@Docker-Content-Digest:\s*(.*)@', $reply, $matches);
preg_match('@Docker-Content-Digest:\s*(.*)@i', $reply, $matches);
Possible reason: File transfer limit in Webclient Service
- Open regedit
- Go to: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ WebClient \ Parameters
- Find: FileSizeLimitInBytes and open it
- Select Decimal
- Enter the following number:
- Click op OK
- Hold windowskey + R
- Enter services.msc
- Find WebClient
- Right click the service and select restart.