I want to upgrage Alfresco from 3.4 to 5.1 community Edition on linux
What should I do exactly ? ?
Actually you cannot upgrade directly to 5.1.
You will have to update to 4.x beforehand and as a next step upgrade from 4.x to 5.1.
This is described here in the documentation.
Briefly you will have to do following:
backup your database and alf_data folder
install 4.x
configure it to use your existing (3.4) database and alf_data folder (in alfresco-global.properties)
start it and wait till all upgrades scripts will execute successfully
install 5.1
configure it to use your existing database and alf_data folder (in alfresco-global.properties)
start it and wait till all upgrades scripts will execute successfully
Please note that 5.1 don't have an user interface in /alfresco (repo) webapp.
GUI was separated to /share webapp so all your customization should be rewritten/reconfigured to be used inside Share.
For more information on how to upgrade Alfresco please follow instructions from this official documentation page Upgrading Alfresco on a single instance.
If you have "default configuration"- I mean like there you dont have some custom things like certificates, etc..
You dont need to backup & restore complete "alf_data", but just alf_data contentStore & contentStore.deleted should be fine
Also one importatnt thing
database backup must be made firts, earlier than "data" backup- because of indexes saved in DB
(if there will be indexed some files, which will dont be in data, alfresco will dont start, if there will be some files without indexes, it will index them)
Btw also what is recommended is to make reindex (on new Alfresco)- steps has dependencies on the Alfresco version (eg. Alf 4 has solr1, alf 5.x has solr4 by default), but its usually something like this
Related
I'm developing a tool that utilizes libgit2sharp. Currently using LINQPad 6 running on .net core 3.1 to develop this.
While I was testing, I noticed that an oddly named directory symlink (_git2_a09040 in this case) is created in the bare repository that I initialized. Last I remembered working with libgit2sharp, no such link is created.
It is pointing to a "testing" directory which doesn't exist and not typically a file that would expect to see in a git directory. Libgit2sharp just forwards the call to libgit2's git_repository_init_ext() function so I think this is coming from libgit2. Some old testing artifact that got into the build perhaps?
What is this symlink and why is it being added here?
It doesn't matter so much to me that this is created, I don't think it would negatively impact my project, just curious as to why.
Win10 Pro x64 1909
DotNet Core x64 3.1.100
LINQPad 6 x64 6.6.1 (beta)
LibGit2Sharp 0.26.2 (nuget)
LibGit2Sharp.NativeBinaries 2.0.306 (nuget dep)
When a Git repository is initialised, a check is performed to see if the filesystem on which the repostiory is created supports symlinks. This is done by creating a symlink and seeing if that works. If it does not work, core.symlinks is set to false.
When built for Windows, this check is only performed if core.symlinks is true which suggests you might have that setting enabled.
The function which tests for this does try to remove the symlink, but does not return an error in case that fails in order not to stop the repository creation from succeeding if this aspect of the check fails.
I was able to do what I'm goin to describe in Fuse 6.1 but now in Fuse 6.2 I get an exception and it is not working anymore.
By following a tutorial, I build a "multi module" project that has a features component in order to install all the needed bundles.
I'm working on a fabric container with a child container.
I create a new profile and then from hawtio console I try to add the feature repository. (BTW I have the same problem if I use the terminal console)
The feature repository is added correctly (that's what fuse says at least) but when I enter the page to add any feature I see this in the log:
org.eclipse.aether.resolution.ArtifactResolutionException: Could not
find artifact it.mytria.demo:esercizio1-feature:xml:features:1.0.0 in
karaf-default
(file:C:/servers/fuse/system/)
Of course, it is right, since I never installed the bundle in that folder, but I have it in my local .m2/repository
Now, the question is, has anyone ever installed a custom feature in Jboss 6.2 and can help me get out from this situation?
The only solution I found is to manually copy the feature and all the custom bundled indicated by the feature in the "/system" folder, but I never had to do this in Fuse 6.1 so I don't like this solution at all.
Other thing, there is a conf file in Fuse 6.2 that has changed from Fuse 6.1, C:\servers\fuse\etc\io.fabric8.maven.cfg and it is the only file I found pointing to the system folder... but I'm afraid that if I add the .m2 folder here then Fuse will try to search there any bundle even those that has to be really taken from system folder.
So far I haven't find any other difference in the config file about maven repository.
There is any good guy out there that know how to make this thing work?
Please, if I missed some important information, let me know, I'll try my best to complete the question.
Thank you very much.
I installed a clean JbossFuse 6.2.0. Then from the hawtio console I just add the repository to the profile using
mvn:it.mytria.demo/esercizio1-feature/1.0.0/xml/features
and it worked.
So... I have no idea what went wrong the first time. I made no changes to the projects code or pom configuration of the bundles.
I have created a multi module project in Alfresco using All-in-one Archetype of the Maven Alfresco SDK. I have selected 1.1.1 archetype version. The project directory was build successfully. But in that directory I couldnt find the wcmqs(Alfresco Web Quick Start) directory which is used to build websites. Can anyone help me hw to get this wcmqs, as I need to work with wcmqs for creating new pages and templetes in wcmqs?
The wcmqs module did used to be in the Maven Alfresco SDK but it never worked very well and caused other problems. It is however unnecessary to use the Maven Alfresco SDK if you wish to get started.
To get started with Alfresco Web Quick Start you just need to download and install the files. You can get the files from Sourceforge: http://sourceforge.net/projects/alfresco/files/Alfresco%204.2.f%20Community/
Installation should be straightforward. You need to install the AMPs on your Alfresco instance and deploy the WARs to a servlet container (like your Tomcat).
If you want to customise Web Quick Start, such as changing the model, that is a different matter. There is a short example here that you can go through to give you an idea of what you need to do:
http://ecmarchitect.com/archives/2011/01/06/1254
I have installed alfresco community 4.2 on my laptop. Also i have downloaded alfresco workdesk & configured it to use my local alfresco repository instead of default one.
Now i am not able to figure out how to get workflow features on content i uploaded in workdesk UI as well as how to proceed with case management features as clubbing multiple files to create one case etc.?
Can anybody help me here?
OK. I have done some more research & found out that one can use alfresco enterprise edition & install workdesk enterprise trial for same. This trial is a preconfigured case management example which has lots of features which can be used as yardsticks such as creating case folders with multiple files, workflow etc.
Now depending upon information/documentation you have got, one can extend it for further use.
In my case I'm upgrading the memcache module,though there's a README.txt but it seems not operable :
1. Install the memcached binaries on your server. See http://www.lullabot.com/articles/how_install_memcache_debian_etch
2. Install the PECL memcache extension for PHP. This must be version 2.2.1 or higher or you will experience errors.
3. Put your site into offline mode.
4. Download and install the memcache module.
5. If you have previously been running the memcache module, run update.php.
6. Apply the DRUPAL-5-x-cache-serialize.patch from the patches folder that
comes with the module. Version specific, so use DRUPAL-5-6-cache-serialize.patch
if you are running Drupal 5.6.
7. Start at least one instance of memcached on your server.
8. Edit settings.php to configure the servers, clusters and bins that memcache
is supposed to use.
9. Edit settings.php to include either memcache.inc or memcache.db.inc. For
example, $conf['cache_inc'] ='sites/all/modules/memcache/memcache.db.inc';
10. Bring your site back online.
Especially step4, does it mean just unpack the module and replace all stuff in original directory?
My current memcache version is 5.x-1.9 and there's 5.x-1.10 available,but I don't see it available at admin/logs/updates
Step 4 means that you remove the old module directory completely and only then unzip the new module code. You don't want any remnants of the old code.
Also note, that
Not all module developers think the same about dot releases: sometimes 1.2 and 1.3 are major rewrites or come with completely new features, themeable-functions, pages or APIs.
Not all upgrades are compatible with others. Sometimes you cannot update module B to 1.4, because of its dependency with A, A seems not compatible with 1.4 (yet). Drupal does not support dependencies on versions.
Major releases imply (but do not guarantee) incompatibility, or even complete rewrites: Upgrading from 5.x-1.4 to 5.x-2.1 might force major rewrites of custom code, including your theme.
Security updates often are dependent on earlier releases: 6.x-1.2 might introduce new features (that you do not want, or wish to ignore), 6.x-1.3, can be a security-release that requires (some of the) the changes in 6.x-1.2 to be available. You must then either fiddle around with patches, or go trough that feature release anyway.