Services/Sync/Server/Archived/0.5/Setup/Migration: Difference between revisions

m
 
(6 intermediate revisions by one other user not shown)
Line 22: Line 22:


server/misc/1/weave_misc_constants.php (if using captcha)
server/misc/1/weave_misc_constants.php (if using captcha)
In weave_user_constants.php, edit the constant:
if (!defined('WEAVE_REGISTER_STORAGE_LOCATION')) { define('WEAVE_REGISTER_STORAGE_LOCATION', "yourserver"); }
If you don't host your install at the standard (/0.5) location, you'll need to set that to yourserver/prefix where prefix is whatever you configured apache to respond to before the /0.5


== Mysql ==
== Mysql ==
Line 33: Line 39:
alter table wbo add index predecessorindex (`username`,`collection`,`predecessorid`);
alter table wbo add index predecessorindex (`username`,`collection`,`predecessorid`);


(if you have a particularly old server, you might also need alter table users add column location text)


== SQLite ==
== SQLite ==
Line 42: Line 49:
alter table wbo add column payload_size int;
alter table wbo add column payload_size int;


alter table wbo add index weightindex (`username`,`collection`,`sortindex`);
create index weightindex on wbo (`collection`,`sortindex`);
 
(if you have a particularly old server, you might also need alter table users add column location text)
 
==Editing the Client==
In about:config, set extensions.weave.ServerUrl to https://servername/user
Confirmed users, Bureaucrats and Sysops emeriti
812

edits