Replicating whonix.org wiki

Very easy to follow and well written BTW.

I’ve hit a snag at this step

php /var/www/wiki/maintenance/update.php --quick MediaWiki 1.23.0 Updater

DB connection error: Access denied for user ‘root’@‘localhost’ (using password: YES) (localhost)

For reference:
https://www.whonix.org/wiki/Dev/Replicating_whonix.org

Fixed instructions:

[quote=“Patrick, post:3, topic:414”]Fixed instructions:

Maybe that helps.

Likely you forgot setting password in /etc/apache2/wikiSecrets.php? Likely this is a mysql password related issue.

You’re right it is the password.

Now the next problem is here.

root@host:/var/www# sudo -u www-data php /var/www/wiki/maintenance/importImages.php ~/WhonixWikiBackups/mediafiles Import Images

No suitable files could be found for import.

Did you clone as non-root user as per instructions?

git clone --depth=1 https://github.com/WhonixBOT/WhonixWikiBackups.git

Do you have a folder

~/WhonixWikiBackups/mediafiles/

?

It simply is this folder from git:

And you forgot the leading dash. Don’t know if that makes a difference.

sudo -u www-data php /var/www/wiki/maintenance/importImages.php ~/WhonixWikiBackups/mediafiles/

Please use copy and paste.

[quote=“Patrick, post:6, topic:414”]Did you clone as non-root user as per instructions?

git clone --depth=1 https://github.com/WhonixBOT/WhonixWikiBackups.git

Do you have a folder

~/WhonixWikiBackups/mediafiles/

?

It simply is this folder from git:
https://github.com/WhonixBOT/WhonixWikiBackups/tree/master/mediafiles[/quote]

Yes. I have been doing everything as root so far.

I tried the command you gave below with the same result unfortunately

Successful