On 22/11/12 10:19, Neill Mitchell wrote:
> Hi all.
>
> One thing to note. You must run the SMW_refreshData maintenance script
> after upgrading. I had a brief moment of panic as all my property values
> were empty!

Yes, please *do* read the section about upgrading in INSTALL. I paste 
the main part of its text below, just in case you cannot find INSTALL ;-)

Also, please do not try to delete your old SQLStore2 yet (a bug has been 
discovered there today; the script won't accept the parameter that 
specifies the store, so it only let's you delete the store you currently 
use). This will be re-enabled before the release.

Markus

===

SMW 1.8 introduces a new default database layout (SMWSQLStore3). You can
continue to use the old layout (SMWSQLStore2) for transition purposes, 
but it
is strongly recommended to migrate to the new layout for future 
compatibility.

To use the old layout at first, add $smwgDefaultStore = 'SMWSQLStore2'; to
your LocalSettings.php. If you are using $smwgDefaultStore = 
'SMWSparqlStore';
already, then you should keep this line and add the following:
SMWSparqlStore::$baseStoreClass = 'SMWSQLStore2'; (after enableSemantics).
After setting these, run SMW_setup.php or Special:SMWAdmin upgrade as usual.
The wiki should now work as normal, but using the old storage structures.

To migrate to the new store, you can do a normal "full refresh" for the new
store. Run the following two commands (both will run a while).

php SMW_refreshData.php -v -b SMWSQLStore3 -fp
php SMW_refreshData.php -v -b SMWSQLStore3

The running wiki will not be affected by this, but the operation could 
affect
server speed. See
http://semantic-mediawiki.org/wiki/Help:Repairing_SMW%27s_data for details.

After successful migration, remove the lines with 'SMWSQLStore2' from your
LocalSettings.php to use the new store. You can always return to the old 
store
in case of problems. If the old store is no longer needed, it can be deleted
(and its memory freed) by running

...
(this does not work, as mentioned above; don't try it yet)



>
> Cheers
> Neill.
>
> On 22/11/12 10:00, Neill Mitchell wrote:
>> Hi Markus.
>>
>> This is great news. Thanks to all involved!
>>
>> I'll run it through my regression test suite over the next couple of days.
>>
>> Best regards
>> Neill.
>> On 22/11/12 07:41, Markus Krötzsch wrote:
>>> Dear all,
>>>
>>> SMW 1.8 is close to its first stable release. We have now packaged a
>>> Release Candidate for download [1]. If all goes well, this will become
>>> SMW 1.8.0 in about a week. As usual, the package includes the required
>>> version of Validator.
>>>
>>> Major new features include:
>>>
>>> * New data storage: more efficient, less database activity
>>> * Interface improvements in Special:Ask
>>> * New atom and RSS printer
>>> * SMW now provides information about #ask queries used on the wiki [2]
>>> * Support for #subobjects without a name
>>> * Ask API now stable, with added continuation support
>>>
>>> Moreover, a large number of bugs have been fixed, compatibility to all
>>> recent MW versions has been ensured, a lot of internal improvements have
>>> been made, and translations have been added. A record number of people
>>> have contributed to this work.
>>>
>>> For those of you who download versions from git, there is also an
>>> according tag there for this RC. The master branch itself will remain in
>>> a stable state until 1.8 is released.
>>>
>>> Feedback is most welcome.
>>>
>>> Cheers,
>>>
>>> Markus
>>>
>>>
>>> [1]
>>> http://sourceforge.net/projects/semediawiki/files/semediawiki/Semantic%20MediaWiki%201.8%20RC1/
>>> [2] You can now query for queries. Examples:
>>>
>>> * The 10 largest queries used on the wiki with their size and query string:
>>>
>>> {{#ask:[[query string::+]]
>>> |?query size
>>> |?query string
>>> |sort=query size
>>> |order=DESC
>>> |limit=10
>>> }}
>>>
>>> * The number of queries that use the format "list":
>>>
>>> {{#ask:[[query format::list]] |format=count }}
>>>
>>> * The number of pages that use queries that use the format "list":
>>>
>>> {{#ask:[[has query.query format::list]] |format=count }}
>>>
>>> * The total number of queries:
>>>
>>> {{#ask:[[query size::+]] |format=count }}
>>>
>>> * Pages that have a query with format list and one with format table:
>>>
>>> {{#ask: [[has query.query format::list]] [[has query.query
>>> format::table]] }}
>>>
>>> ------------------------------------------------------------------------------
>>> Monitor your physical, virtual and cloud infrastructure from a single
>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>> Pricing starts from $795 for 25 servers or applications!
>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>> _______________________________________________
>>> Semediawiki-devel mailing list
>>> Semediawiki-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to