11-02-2007 01:21 AM
11-02-2007 09:45 AM
# ######################################### #
# Index Recovery and Tracking Configuration #
# ######################################### #
#
# Recovery types are:
# NONE: Ignore
# VALIDATE: Checks that the first and last transaction for each store is represented in the indexes
# AUTO: Validates and auto-recovers if validation fails
# FULL: Full index rebuild, processing all transactions in order. The server is temporarily suspended.
index.recovery.mode=FULL
11-07-2007 11:45 PM
3. Create a tablespace in MySQL called 'public' and create a user who has permissions on this tablespace (e.g alfrescohsql). Note: the tablespace must be called 'public' to match the tablespace used in the HSQL database.
11-08-2007 05:12 AM
11-08-2007 08:54 AM
multimedia:/usr/lib/mysql-gui/migration-toolkit-script # ./run_migration_simple
MySQL Migration Toolkit - Script Version 1.1.9exp
————————————————-
Initializing migration environment…
Initialisation complete.
*******************************
* Source database connection. *
*******************************
Please choose a database system:
——————————–
1. Oracle Database Server
2. MySQL Server
3. MaxDB Database Server
4. Generic Jdbc
5. Sybase Server
6. MS SQL Server
7. MS Access
0. Abort
Source Database System: 4
Please choose a connection:
—————————
1. Create new connection
2. hsql
0. Abort
-1.Delete a connection
Connection: 2
Selected connection: hsql
————————-
classname: org.hsqldb.jdbcDriver
explicit_password: alfresco
– ———————————————————————-
– MySQL GRT Application
– SQL Script
– ———————————————————————-
SET FOREIGN_KEY_CHECKS = 0;
DROP DATABASE IF EXISTS `PUBLIC`;
CREATE DATABASE IF NOT EXISTS `PUBLIC`
CHARACTER SET latin1 COLLATE latin1_swedish_ci;
– ————————————-
– Tables
CREATE TABLE `PUBLIC`.`ALF_ACCESS_CONTROL_ENTRY` (
`ID` BIGINT NOT NULL,
`ACL_ID` BIGINT NOT NULL,
`PERMISSION_ID` BIGINT NOT NULL,
`AUTHORITY_ID` VARCHAR(100) NOT NULL,
`ALLOWED` BOOLEAN NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE INDEX `SYS_IDX_206` (`ID`),
UNIQUE INDEX `SYS_IDX_SYS_CT_104_208` (`ACL_ID`, `PERMISSION_ID`, `AUTHORITY
_ID`),
….
12-15-2007 02:41 AM
$ mysql -uroot -p<password>
7.2 mysql> drop database alfresco;
7.3 mysql> quit;
7.4 delete all files in <alf_dir>/alf_data except for hsql_data13:26:16,443 WARN [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Cou ld not detect RMI registry - creating new one
13:26:20,194 WARN [org.alfresco.util.OpenOfficeConnectionTester] A connection t o OpenOffice could not be established.
13:26:25,941 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: user://alfrescoUserStore
13:26:26,021 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfr esco/extension/restore/export_users.acp
13:26:26,389 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Sat Dec 15 13:26:26 CST 2007 (1197696386388)
13:26:39,027 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import complet ed at Sat Dec 15 13:26:39 CST 2007 (1197696399027)
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duratio n: 12639 ms (Note: excluding commit time)
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Nodes created : 146
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Nodes linked: 0
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Aspects Added : 0
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Properties se t: 1605
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Content set: 0
13:26:39,028 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Permissions s et: 1
13:26:46,702 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Created store: system://system
….
…
13:56:14,159 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/export_spaces.acp
13:56:25,144 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import started at Sat Dec 15 13:56:25 CST 2007 (1197698185144)
14:25:13,575 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import completed at Sat Dec 15 14:25:13 CST 2007 (1197699913559)
14:25:13,604 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Import duration: 1728415 ms (Note: excluding commit time)
14:25:13,604 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Nodes created: 4044
14:25:13,604 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Nodes linked: 2
14:25:13,605 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Aspects Added: 6299
14:25:13,605 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Properties set: 46593
14:25:13,605 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Content set: 2665
14:25:13,605 DEBUG [org.alfresco.repo.importer.ImporterBootstrap] Permissions set: 555
14:25:30,552 WARN [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder.
14:25:30,552 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
14:25:31,143 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
14:25:31,162 INFO [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
14:25:31,191 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
14:25:36,318 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
14:25:36,319 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
14:25:36,524 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_08-b03; maximum heap size 506.313MB
14:25:36,525 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
12-17-2007 07:14 AM
INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Alfresco is using the HSQL default database. Please only use this while evaluating Alfresco, it is NOT recommended for production or deployment!
12-19-2007 05:23 AM
17:04:50,410 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "c:\alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformer_init_source_58308.gif" "c:\alfresco\tomcat\temp\Alfresco\ImageMagickContentTransformer_init_target_58309.png"
17:05:10,926 WARN [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
17:05:26,239 WARN [org.alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
17:05:48,833 WARN [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder.
17:05:48,833 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
17:05:55,630 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
17:05:55,771 INFO [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
17:05:55,771 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
17:05:56,771 ERROR [org.alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path
17:05:59,427 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_14-b03; maximum heap size 506.313MB
17:05:59,427 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.0.0 (build-185) schema 38 - Installed version 2.0.0 (build-185) schema 38
DROP TABLE IF EXISTS `PUBLIC`.`ALF_ACCESS_CONTROL_ENTRY`;
CREATE TABLE `PUBLIC`.`ALF_ACCESS_CONTROL_ENTRY` (
`ID` BIGINT NOT NULL,
`ACL_ID` BIGINT NOT NULL,
`PERMISSION_ID` BIGINT NOT NULL,
`AUTHORITY_ID` VARCHAR(100) NOT NULL,
`ALLOWED` BOOLEAN NOT NULL,
PRIMARY KEY (`ID`),
UNIQUE INDEX `SYS_IDX_206` (`ID`),
UNIQUE INDEX `SYS_IDX_SYS_CT_104_208` (`ACL_ID`, `PERMISSION_ID`, `AUTHORITY_ID`),
…
To make MySQL fully UTF-8 you need to make some changes to you 'my.ini' or 'my.cnf' configuration files - and these changes are outside the scope of Alfresco. Again, read the MySQL documentation for information on doing this.
I would not recommend anyone follow your instructions for changing from HSQL to MySQL since they can not be guaranteed to give reliable results. If your method was appropriate we would have documented that in the Wiki, and we didn't. The method that is in the Wiki is guaranteed to work.
I will update the Wiki with the additional steps above for those who are unable to read the MySQL documentation.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.