[cryptopp-users] Re: Wiki is down

2020-03-16 Thread François Clément
Hi Mohammad et al.,

Exact same problem here.

Looking forward to playing more with what looks like an excellent library!

Cheers, François

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/af158956-9908-4d5f-81b2-5241612a7806%40googlegroups.com.


Re: [cryptopp-users] Re: Wiki is down

2018-06-16 Thread Jeffrey Walton


On Saturday, June 16, 2018 at 6:40:54 PM UTC-4, Weikeng Chen wrote:
>
> Is that possible that MediaWiki 1.31 requires PHP7, but the host is not 
> PHP7?
> See https://www.mediawiki.org/wiki/MediaWiki_1.31
>

Thanks Weikeng. We are at PHP 7.1.8:

$ php --version
PHP 7.1.8 (cli) (built: Aug  9 2017 13:20:06) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

We had to install PHP through SCL 
(https://wiki.centos.org/AdditionalResources/Repositories/SCL) because the 
native PHP is so old it could not handle MediaWiki 1.24 or 1.26 (if I 
recall correctly).

Here's a MediaWiki ticket on the issue: 
https://phabricator.wikimedia.org/T197518 . Note that I removed cache/, 
vendors/, maintenance/, etc before unpacking the 1.31 tarball so I am not 
sure where the old gear is coming from.

(I cringe when I have to work with Linux's LAMP stack. It is so fragile it 
breaks when the wind blows in the wrong direction).

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [cryptopp-users] Re: Wiki is down

2018-06-16 Thread Weikeng Chen
Is that possible that MediaWiki 1.31 requires PHP7, but the host is not
PHP7?
See https://www.mediawiki.org/wiki/MediaWiki_1.31

On Sat, Jun 16, 2018 at 3:33 PM, Jeffrey Walton  wrote:

>
>
> On Saturday, June 16, 2018 at 4:44:46 PM UTC-4, Jeffrey Walton wrote:
>>
>> Hi Everyone,
>>
>> We are in the middle of a wiki upgrade from MediaWiki 1.30 to 1.31. We
>> encountered some problems and the wiki is down for the moment.
>>
>> It appears the wiki tarball is missing some files. We'll get it back up
>> as soon as we find the files we need.
>>
>
> We were were not able to upgrade to MediaWiki 1.31. We dropped back to
> MediaWiki 1.30 for the time being.
>
> I'm not sure what we are going to do in the future.
>
> Jeff
>
> --
> You received this message because you are subscribed to "Crypto++ Users".
> More information about Crypto++ and this group is available at
> http://www.cryptopp.com and http://groups.google.com/forum
> /#!forum/cryptopp-users.
> ---
> You received this message because you are subscribed to the Google Groups
> "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cryptopp-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Weikeng Chen @ 795 Soda Hall

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[cryptopp-users] Re: Wiki is down

2018-06-16 Thread Jeffrey Walton


On Saturday, June 16, 2018 at 4:44:46 PM UTC-4, Jeffrey Walton wrote:
>
> Hi Everyone,
>
> We are in the middle of a wiki upgrade from MediaWiki 1.30 to 1.31. We 
> encountered some problems and the wiki is down for the moment.
>
> It appears the wiki tarball is missing some files. We'll get it back up as 
> soon as we find the files we need.
>

We were were not able to upgrade to MediaWiki 1.31. We dropped back to 
MediaWiki 1.30 for the time being.

I'm not sure what we are going to do in the future.

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[cryptopp-users] Re: Wiki is down again

2018-03-27 Thread Jeffrey Walton


On Tuesday, March 27, 2018 at 3:55:10 AM UTC-4, Constantine Zakharchenko 
wrote:
>
> cryptopp.com/wiki is "experiencing technical difficulties".
>
> It's rather frustrating.
> Why not upload offline version of wiki somewhere on github?
>

I think I tracked the problem down to the wrong PHP command. We needed to 
call the updated Red Hat PHP located at /opt/rh/rh-php71/root/usr/bin :

# tail -n 12 /var/www/html/update-wiki.sh

# Always run update script per 
https://www.mediawiki.org/wiki/Manual:Update.php
/opt/rh/rh-php71/root/usr/bin/php "$WIKI_DIR/maintenance/update.php" 
--quick

echo "Restarting Apache service"
if ! systemctl restart httpd24-httpd.service; then
sleep 3
systemctl stop httpd24-httpd.service
systemctl start httpd24-httpd.service
fi

cd "$TOP_DIR"

But previously the script looked like this:

 php "$WIKI_DIR/maintenance/update.php" --quick

It would succeed most of the time, but fail on occasion.

I think it is poor engineering on Red Hat's part. The latest Red Hat and 
CentOS should come with a modern PHP and Apache. People who want the 
ancient stuff should have to do something special. Instead, Red Hat turned 
it on its head and make most of the world jump through hoops hoops for PHP 
7 and friends.

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[cryptopp-users] Re: Wiki is down again

2018-03-27 Thread Jeffrey Walton


On Tuesday, March 27, 2018 at 3:55:10 AM UTC-4, Constantine Zakharchenko 
wrote:
>
> cryptopp.com/wiki is "experiencing technical difficulties".
>
> It's rather frustrating.
> Why not upload offline version of wiki somewhere on github?
>

There are a few reasons. Some of them may be easy to overcome.

First, MediaWiki uses a markdown language that has to be rendered to HTML. 
Second, I do not know how to dump the wiki as a HTML website. Third, I 
don't know how to dump the wiki as a collection of marked-down pages.

I tried to solve (3) some time ago for backup purposes. I wanted the raw 
source files (and not a database). I could not figure out how to do it. (2) 
and (3) are hard problems for me because of the MySQL database and my lack 
of database skills.

Also, I do the mysldump as a backup. But I cringe when I think all the 
problems we are going to have trying to restore it in real life.

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.