[Resolved] Xampp - debian 8.7 - use mediawiki maintenance

Problems with the Linux version of XAMPP, questions, comments, and anything related.

[Resolved] Xampp - debian 8.7 - use mediawiki maintenance

Postby Zer00CooL » 09. December 2017 01:03

Xampp - debian 8.7 - how tu use mediawiki maintenance script

root@debian-8:/opt/lampp/htdocs/wiki/maintenance# php update.php
bash: php : commande introuvable


#!/usr/bin/env php This script must be run from the command line
How to ?


Old way for Windows 7 : https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Windows/bitnami
NOTE: If you do not have command line PHP installed but are using XAMPP then use
#/xampp/bin/php

so your command would be
#/xampp/bin/php
/opt/lampp/apps/mediawiki/htdocs/maintenance/update.php


Can you help for xampp with debian, last version ?
How i can use mediawiki maintenance script ? ( /opt/lampp/htdocs/wiki/maintenance/update.php )
Last edited by Zer00CooL on 09. December 2017 01:57, edited 2 times in total.
Zer00CooL
 
Posts: 7
Joined: 23. October 2017 11:31
XAMPP version: 7.1.7
Operating System: Debian Jessie 8.7.1

[Resolved] Xampp - debian 8.7 - use mediawiki maintenance

Postby Zer00CooL » 09. December 2017 01:55

My wiki for Xampp 2017 in french :
https://www.visionduweb.eu/wiki/index.php?title=Installer_et_utiliser_XAMPP_sous_GNU_Linux

Lancer une maintenance de mediawiki avec update.php sous Xampp 2017
root@debian-8:/# /opt/lampp/bin/php /opt/lampp/htdocs/mediawiki/maintenance/update.php
Zer00CooL
 
Posts: 7
Joined: 23. October 2017 11:31
XAMPP version: 7.1.7
Operating System: Debian Jessie 8.7.1

Re: [Resolved] Xampp - debian 8.7 - use mediawiki maintenanc

Postby Zer00CooL » 09. December 2017 01:59

I see that :

/# /opt/lampp/bin/php /opt/lampp/htdocs/wiki/maintenance/update.php

Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/eaccelerator.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20160303/eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0
MediaWiki 1.29.1 Updater

Your composer.lock file is up to date with current dependencies!
Going to run database updates for mediawiki-wiki_
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
Turning off Content Handler DB fields for this part of upgrade.
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...already have interwiki table
...indexes seem up to 20031107 standards.
...have rc_type field in recentchanges table.
...index new_name_timestamp already set on recentchanges table.
...have user_real_name field in user table.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...have pagelinks; skipping old links table updates
...il_from OK
...have rc_ip field in recentchanges table.
...index PRIMARY already set on image table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...logging table already exists.
...have user_token field in user table.
...have wl_notificationtimestamp field in watchlist table.
Adding missing watchlist talk page rows... done.
Adding missing watchlist subject page rows... done.
...user table does not contain user_emailauthenticationtimestamp field.
...page table already exists.
...have log_params field in logging table.
...logging table has correct log_title encoding.
...have ar_rev_id field in archive table.
...have page_len field in page table.
...revision table does not contain inverse_timestamp field.
...have rev_text_id field in revision table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have user_email_token field in user table.
...have ar_text_id field in archive table.
...page_namespace is already a full int (int(11)).
...ar_namespace is already a full int (int(11)).
...rc_namespace is already a full int (int(11)).
...wl_namespace is already a full int (int(11)).
...qc_namespace is already a full int (int(11)).
...log_namespace is already a full int (int(11)).
...have img_media_type field in image table.
...already have pagelinks table.
...image table does not contain img_type field.
...already have unique user_name index.
...user_groups table exists and is in current format.
...have ss_total_pages field in site_stats table.
...user_newtalk table already exists.
...transcache table already exists.
...have iw_trans field in interwiki table.
...wl_notificationtimestamp is already nullable.
...index times already set on logging table.
...have ipb_range_start field in ipblocks table.
...no page_random rows needed to be set
...have user_registration field in user table.
...templatelinks table already exists
...externallinks table already exists.
...job table already exists.
...have ss_images field in site_stats table.
...langlinks table already exists.
...querycache_info table already exists.
...filearchive table already exists.
...have ipb_anon_only field in ipblocks table.
...index rc_ns_usertext already set on recentchanges table.
...index rc_user_text already set on recentchanges table.
...have user_newpass_time field in user table.
...redirect table already exists.
...querycachetwo table already exists.
...have ipb_enable_autoblock field in ipblocks table.
...index pl_namespace on table pagelinks includes field pl_from.
...index tl_namespace on table templatelinks includes field tl_from.
...index il_to on table imagelinks includes field il_from.
...have rc_old_len field in recentchanges table.
...have user_editcount field in user table.
...page_restrictions table already exists.
...have log_id field in logging table.
...have rev_parent_id field in revision table.
...have pr_id field in page_restrictions table.
...have rev_len field in revision table.
...have rc_deleted field in recentchanges table.
...have log_deleted field in logging table.
...have ar_deleted field in archive table.
...have ipb_deleted field in ipblocks table.
...have fa_deleted field in filearchive table.
...have ar_len field in archive table.
...have ipb_block_email field in ipblocks table.
...index cl_sortkey on table categorylinks includes field cl_from.
...have oi_metadata field in oldimage table.
...index usertext_timestamp already set on archive table.
...index img_usertext_timestamp already set on image table.
...index oi_usertext_timestamp already set on oldimage table.
...have ar_page_id field in archive table.
...have img_sha1 field in image table.
...protected_titles table already exists.
...have ipb_by_text field in ipblocks table.
...page_props table already exists.
...updatelog table already exists.
...category table already exists.
...category table already populated.
...have ar_parent_id field in archive table.
...have user_last_timestamp field in user_newtalk table.
...protected_titles table has correct pt_title encoding.
...have ss_active_users field in site_stats table.
...ss_active_users user count set...
...have ipb_allow_usertalk field in ipblocks table.
...change_tag table already exists.
...tag_summary table already exists.
...valid_tag table already exists.
...user_properties table already exists.
...log_search table already exists.
...have log_user_text field in logging table.
...l10n_cache table already exists.
...index ls_field_val already set on log_search table.
...index change_tag_rc_tag already set on change_tag table.
...have rd_interwiki field in redirect table.
...transcache tc_time already converted.
...*_mime_minor fields are already long enough.
...iwlinks table already exists.
...index iwl_prefix_title_from already set on iwlinks table.
...have ul_value field in updatelog table.
...have iw_api field in interwiki table.
...iwl_prefix key doesn't exist.
...have cl_collation field in categorylinks table.
...categorylinks up-to-date.
...module_deps table already exists.
...ar_page_revid key doesn't exist.
...index ar_revid already set on archive table.
...ll_lang is up-to-date.
...user_last_timestamp is already nullable.
...index user_email already set on user table.
...up_property in table user_properties already modified by patch patch-up_property.sql.
...uploadstash table already exists.
...user_former_groups table already exists.
...index type_action already set on logging table.
...have rev_sha1 field in revision table.
...batch conversion of user_options: nothing to migrate. done.
...user table does not contain user_options field.
...have ar_sha1 field in archive table.
...index page_redirect_namespace_len already set on page table.
...have us_chunk_inx field in uploadstash table.
...have job_timestamp field in job table.
...index page_user_timestamp already set on revision table.
...have ipb_parent_block_id field in ipblocks table.
...index ipb_parent_block_id already set on ipblocks table.
...category table does not contain cat_hidden field.
...have rev_content_format field in revision table.
...have rev_content_model field in revision table.
...have ar_content_format field in archive table.
...have ar_content_model field in archive table.
...have page_content_model field in page table.
Content Handler DB fields should be usable now.
...site_stats table does not contain ss_admins field.
...recentchanges table does not contain rc_moved_to_title field.
...sites table already exists.
...have fa_sha1 field in filearchive table.
...have job_token field in job table.
...have job_attempts field in job table.
...have us_props field in uploadstash table.
...ug_group in table user_groups already modified by patch patch-ug_group-length-increase-255.sql.
...ufg_group in table user_former_groups already modified by patch patch-ufg_group-length-increase-255.sql.
...index pp_propname_page already set on page_props table.
...index img_media_mime already set on image table.
...iwl_prefix_title_from index is already non-UNIQUE.
...index iwl_prefix_from_title already set on iwlinks table.
...have ar_id field in archive table.
...have el_id field in externallinks table.
...have rc_source field in recentchanges table.
...index log_user_text_type_time already set on logging table.
...index log_user_text_time already set on logging table.
...have page_links_updated field in page table.
...have user_password_expires field in user table.
...have pp_sortkey field in page_props table.
...recentchanges table does not contain rc_cur_time field.
...index wl_user_notificationtimestamp already set on watchlist table.
...have page_lang field in page table.
...have pl_from_namespace field in pagelinks table.
...have tl_from_namespace field in templatelinks table.
...have il_from_namespace field in imagelinks table.
...img_major_mime in table image already modified by patch patch-img_major_mime-chemical.sql.
...oi_major_mime in table oldimage already modified by patch patch-oi_major_mime-chemical.sql.
...fa_major_mime in table filearchive already modified by patch patch-fa_major_mime-chemical.sql.
...user_id is already unsigned int.
...rc_comment in table recentchanges already modified by patch patch-editsummary-length.sql.
...hitcounter doesn't exist.
...site_stats table does not contain ss_total_views field.
...page table does not contain page_counter field.
...msg_resource_links doesn't exist.
...msg_resource doesn't exist.
...bot_passwords table already exists.
...have wl_id field in watchlist table.
...cl_collation key doesn't exist.
...index cl_collation_ext already set on categorylinks table.
...collations up-to-date.
...index rc_name_type_patrolled_timestamp already set on recentchanges table.
...rev_page_id index already non-unique.
...pl_namespace, tl_namespace, il_to indices are already non-UNIQUE.
...have ct_id field in change_tag table.
...have ts_id field in tag_summary table.
...rc_ip in table recentchanges already modified by patch patch-rc_ip_modify.sql.
...index usertext_timestamp already set on archive table.
...have el_index_60 field in externallinks table.
...ug_user_group key doesn't exist.
...have ug_expiry field in user_groups table.
...index img_user_timestamp already set on image table.
...site_stats is populated...done.
Checking existence of old default messages...done.
Populating rev_len column
...doing rev_id from 5 to 204
...doing rev_id from 205 to 404
...doing rev_id from 405 to 604
...doing rev_id from 605 to 804
...doing rev_id from 805 to 1004
...doing rev_id from 1005 to 1204
...doing rev_id from 1205 to 1404
...doing rev_id from 1405 to 1604
...doing rev_id from 1605 to 1804
...doing rev_id from 1805 to 2004
...doing rev_id from 2005 to 2204
...doing rev_id from 2205 to 2404
...doing rev_id from 2405 to 2604
...doing rev_id from 2605 to 2804
...doing rev_id from 2805 to 3004
...doing rev_id from 3005 to 3204
...doing rev_id from 3205 to 3404
...doing rev_id from 3405 to 3604
...doing rev_id from 3605 to 3804
...doing rev_id from 3805 to 4004
...doing rev_id from 4005 to 4204
...doing rev_id from 4205 to 4404
...doing rev_id from 4405 to 4604
...doing rev_id from 4605 to 4804
...doing rev_id from 4805 to 5004
...doing rev_id from 5005 to 5204
...doing rev_id from 5205 to 5404
...doing rev_id from 5405 to 5604
...doing rev_id from 5605 to 5804
...doing rev_id from 5805 to 6004
...doing rev_id from 6005 to 6204
...doing rev_id from 6205 to 6404
...doing rev_id from 6405 to 6604
...doing rev_id from 6605 to 6804
...doing rev_id from 6805 to 7004
...doing rev_id from 7005 to 7204
...doing rev_id from 7205 to 7404
...doing rev_id from 7405 to 7604
...doing rev_id from 7605 to 7804
...doing rev_id from 7805 to 8004
...doing rev_id from 8005 to 8204
...doing rev_id from 8205 to 8404
...doing rev_id from 8405 to 8604
...doing rev_id from 8605 to 8804
...doing rev_id from 8805 to 9004
...doing rev_id from 9005 to 9204
...doing rev_id from 9205 to 9404
Populating ar_len column
...doing ar_id from 31 to 230
rev_len and ar_len population complete [0 revision rows, 0 archive rows].
Populating rev_sha1 column
...doing rev_id from 5 to 204
...doing rev_id from 205 to 404
...doing rev_id from 405 to 604
...doing rev_id from 605 to 804
...doing rev_id from 805 to 1004
...doing rev_id from 1005 to 1204
...doing rev_id from 1205 to 1404
...doing rev_id from 1405 to 1604
...doing rev_id from 1605 to 1804
...doing rev_id from 1805 to 2004
...doing rev_id from 2005 to 2204
...doing rev_id from 2205 to 2404
...doing rev_id from 2405 to 2604
...doing rev_id from 2605 to 2804
...doing rev_id from 2805 to 3004
...doing rev_id from 3005 to 3204
...doing rev_id from 3205 to 3404
...doing rev_id from 3405 to 3604
...doing rev_id from 3605 to 3804
...doing rev_id from 3805 to 4004
...doing rev_id from 4005 to 4204
...doing rev_id from 4205 to 4404
...doing rev_id from 4405 to 4604
...doing rev_id from 4605 to 4804
...doing rev_id from 4805 to 5004
...doing rev_id from 5005 to 5204
...doing rev_id from 5205 to 5404
...doing rev_id from 5405 to 5604
...doing rev_id from 5605 to 5804
...doing rev_id from 5805 to 6004
...doing rev_id from 6005 to 6204
...doing rev_id from 6205 to 6404
...doing rev_id from 6405 to 6604
...doing rev_id from 6605 to 6804
...doing rev_id from 6805 to 7004
...doing rev_id from 7005 to 7204
...doing rev_id from 7205 to 7404
...doing rev_id from 7405 to 7604
...doing rev_id from 7605 to 7804
...doing rev_id from 7805 to 8004
...doing rev_id from 8005 to 8204
...doing rev_id from 8205 to 8404
...doing rev_id from 8405 to 8604
...doing rev_id from 8605 to 8804
...doing rev_id from 8805 to 9004
...doing rev_id from 9005 to 9204
...doing rev_id from 9205 to 9404
Populating ar_sha1 column
...doing ar_rev_id from 8664 to 8863
...doing ar_rev_id from 8864 to 9063
...doing ar_rev_id from 9064 to 9263
...doing ar_rev_id from 9264 to 9463
Populating ar_sha1 column legacy rows
rev_sha1 and ar_sha1 population complete [0 revision rows, 0 archive rows].
Populating img_sha1 field

Done 0 files in 0.0 seconds
Fixing protocol-relative entries in the externallinks table...
Done, 0 rows updated.
Populating fa_sha1 field from fa_storage_key

Done 0 files in 0.0 seconds
Updating *_from_namespace fields in links tables.
...doing page_id from 2 to 201
...doing page_id from 201 to 400
...doing page_id from 400 to 599
...doing page_id from 599 to 798
Adding empty categories with description pages...
Removing empty categories without description pages...
--mode=remove --begin=Dogecoins
Category cleanup complete.
Set the local repo temp zone container to be private.
Purging caches...done.

Done in 1.1 s.
Zer00CooL
 
Posts: 7
Joined: 23. October 2017 11:31
XAMPP version: 7.1.7
Operating System: Debian Jessie 8.7.1


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 24 guests