Comments (7)
Hi @renatofritola and @BladeRikWr Thank you for reporting these issues. Unfortunately there does appear to be a problem with the GoogleDocs integration with the latest WIP version of Community, there is an issue on our internal backlog to address this.
You might have more luck if you go back to a previous version of community, however, if you do do this please bear in mind the comments I made here: #489 (comment)
from acs-deployment.
I'm having the same issue as well. This happens on a fresh Helm deployment, using the latest Chart version "5.0.0-M2", which deploys Alfresco Community version "7.0.0-A10".
I followed this repo's EKS deployment doc to the dot, exception being that I used an AWS database instead of the PostgreSQL database included in the chart.
After I ran the helm install acs alfresco/alfresco-content-services ...
command stated in the EKS deploy docs (the doc in this repo), everything launched ok. But as soon as I make a new site and try to create a new Google Doc, it gives the error "Couldn't connect to Google Docs". The repository logs are similar to renatofritola's logs, in that they show a bunch of BeanCreationExceptions
caused by the Google Doc beans.
So I thought, hm maybe it's because there is a version mismatch between the supported Google Doc subsystem and this Alfresco version. So I did a fresh deployment of Helm Chart version "5.0.0-M1" which deploys Alfresco Community version "6.2.1-A8". Again, I used an AWS database in place of the included one. Google Docs still doesn't work. Same errors show up in the logs. I'm almost at a loss for this.
from acs-deployment.
So in my Alfresco log [1], I noticed this:
Caused by: java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at org.alfresco.integrations.google.docs.service.GoogleDocsServiceImpl.init(GoogleDocsServiceImpl.java:344)
...
That last line led me to the Alfresco Google Drive repo, specifically to the GoogleDocsServiceImpl.java
file referenced in the error (Link to that). Here is the offending method and line:
public void init() throws IOException
{
httpTransport = new NetHttpTransport();
jsonFactory = new JacksonFactory();
if (isBlank(clientSecret))
{
Line 344 --> clientSecrets = GoogleClientSecrets.load(jsonFactory, new InputStreamReader(
GoogleDocsServiceImpl.class.getResourceAsStream("client_secret.json")));
}
else
{
clientSecrets = GoogleClientSecrets.load(jsonFactory, new StringReader(clientSecret));
}
}
Do I have to provide my own client Google OAuth secret? If so, where?
[1] Alfresco.log
from acs-deployment.
Thanks for the update Gavin! I'll try to wrangle together an older Alfresco installation.
from acs-deployment.
Just an update for future readers. I deployed Alfresco 6.2.0-ga (both Repository and Share), and Google Docs works on this stable version.
You may be wondering, "but the main README says that the oldest Community version I can deploy is 6.2.1-A8!". Nonsense :)
Use the community_values file from tag 5.0.0-M1
. For the alfresco/alfresco-content-repository-community
image, change its tag
to use 6.2.0-ga
. For alfresco/alfresco-share
image, change its tag
to use 6.2.0
.
Also, if you're a Helm newbie like me, don't forget to use the previous Helm chart version when you get to the installation step:
helm install acs alfresco/alfresco-content-services \
--version="5.0.0-M1" \
...
from acs-deployment.
This is being tracked internally via: https://alfresco.atlassian.net/browse/GOOGLEDOCS-501 and will be fixed in the forthcoming Community release.
NOTE: The repo fix is also in the current alpha build being used on master, the Share counterpart will follow shortly.
from acs-deployment.
This is now fixed with the latest Community docker compose file.
from acs-deployment.
Related Issues (20)
- Alfresco Engine Container High Throughput HOT 2
- Issue with Sharing PVCs in ACS Community HOT 7
- ReplicaCount 2 Filestore HOT 2
- deployment-repository.yml in Helm has no fs initContainer HOT 2
- installation helm : error shared secret for solr HOT 3
- Can't deploy ACS with helm chart on kubernetes 1.25 cluster HOT 4
- User search failed in Share HOT 1
- Setting database to external is trying to use the capabilities from a dependency Postgresql chart HOT 6
- 5.4.0-SNAPSHOT is failing installing due to search dependency helper HOT 3
- Repostiory extraVolumeMounts is never used in the REPO deployment HOT 4
- Issue with community docker-compose and jceks keystore HOT 1
- Image pull failed for alfresco-search-service HOT 5
- Problem with external NFS data when volume data alfready exist HOT 4
- Problem connecting to oracle 19c database HOT 1
- adding pod annotations to the Repo Deployment HOT 1
- Possible path traversal vulnerability on Share container HOT 4
- solr6's schema.xml always rollback to the original HOT 2
- Creating renditions for previous versions broke the restore operation HOT 3
- Configure alfresco-global.properties file using helm HOT 6
- OpenShift Security Context Constraints mismatch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acs-deployment.