Git Product home page Git Product logo

linshare's Introduction

LinShare

LinShare

License

Linshare is released under the terms of the license GNU AGPLv3. For more information please see here

Description

Specially designed to secure paperless file sharings within companies that put privacy and traceability in the heart of their problems of exchange, LinShare provides a simple solution completely intuitive.

  • Linshare allows employees to upload files into their space
  • Linshare can share files with internal or external collaborators
  • Linshare offers several features to securely exchange

More information on http://www.linshare.org/

Live demo:

A Live demo of LinShare is available at https://demo.linshare.org/. This demo reflects the latest developments done on LinShare, it will be reseted and updated on regulary basis.

This instance of LinShare is set up with some test users:

If you want to share with some external users, use these five email addresses [email protected] to [email protected]. External users are just an email address without a LinShare account.

We also provide [email protected] to [email protected] emails adresses, who are also external accounts but you can use them to create guests.

NB: You won't able to send or receive emails if your email address is not @linshare.org.

In order to see emails sent by LinShare, we also put at your disposal a webmail available at https://demo-webmail.linshare.org.

Webmail passwords :

All repositories

LinShare is now splitted into multiple repositories. You can clone the whole project using the following commands :

Main repository:

NB: You can download all components using Maven:

$ mvn dependency:copy-dependencies -DoutputDirectory='linshare'

LinShare server components:

LinShare client components:

For tests and demonstration:

Required versions of LinShare's dependencies:

  • You can find the required versions of LinShare's dependencies here

linshare's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linshare's Issues

expiration des utilisateurs invités

Bonjour,
est-il normal qu'un utilisateur invité dont la date d'expiration est dépassée de plus de 3 mois accède encore à son espace personnel?
Je suis en 2.1.1.
image

Merci d'avance

Le dépôt à échoué

Bonjour,

Sur certains fichiers pdf qui contiennent des plans et dont le poids faire environ 8Mo j'obtiens le message d'erreur "Le dépôt à échoué"

Le pdf est autorisé au niveau du type mime et le poids maxi des fichiers et positionné à 2Go

Je ne vois pas ce qui peut bloquer. J'ai tenter de trouver les logs mais je ne suis pas sûr d'être au bon endroit.

Dans le fichier /var/lib/tomcat7/logs/localhost.2018-01-12.log j'obtiens le message d'erreur. Je ne sais pas si le problème vient de là.

janv. 12, 2018 3:21:16 PM org.apache.catalina.core.StandardWrapperValve invoke
GRAVE: "Servlet.service()" pour la servlet CXFServlet a généré une exception
java.lang.RuntimeException: org.apache.cxf.interceptor.Fault: Java heap space

dans le répertoire /var/log/apache2 rien de probant.

J'utilise linshare en version 1.12.3

C'est la première fois que je rencontre ce problème

Avez-vous une piste à explorer ?

D'avance merci

How to properly enable guest access in 2.x?

LinShare is a very promising tool that we are exploring as a way of collaborating with our customers. We need to be able to easily create a folder and invite them to upload data to that folder. It sounds like the "Guest" feature is designed to do just that, but I have not yet been able to successfully enable it.

I used the docker-compose.yml file to deploy the service (core version 2.0.4, product version 3.0.4). I created a "Guest" domain under our standard domain and enabled it:

linshare_settings

But I still don't see any way of creating guest users or inviting them to upload to a folder. Should I expect to see a "Guests" link in the main menu? That seems implied by the documentation.

linshare_files_dashboard

Can you help me enable this?

Option accusé de partage non prise en compte

Bonjour,

Je suis en version Linshare 1.12.3 et mes utilisateurs m'alertent sur le fait que bien qu'ils décochent la case "Recevoir un accusé contenant les détails du partage", ils reçoivent quand même un mail lors du téléchargement du fichier.

Est-ce un bug connu ou bien y a t-il un élément de paramétrage dans la partie administration à régler pour pallier à ce problème ?

Vous remerciant par avance

Olivier MARIE

Fichiers sur NAS

Bonjour, je souhaite sauvegarde mes fichiers dans un NAS QNAP, j'ai repéré dans le fichier linshare.properties la ligne (linshare.documents.storage.filesystem.directory=/var/lib/linshare/filesystemstorage), je l'ai modifier en mettant /mnt/linshare (mount de mon fichier de partage de mon NAS) mais j'obtiens un message erreur lorsque je souhaite télécharger mon fichier depuis l'interface web (erreur: serveur injoignable).

Merci d'avance

linshare_v2.0.1_2

Hi Team,
i tried so many times still issue is not able to solve to install linshare in my centos7 minimal version,
so I download virtual machine linshare_v2.0.1_2.box and add to my virtual box. Now I try to login but what is the login name and password to log in
vagrant instance
my virtual machine

Error when deploying linshare.war on tomcat8

Hi, i have trouble when deploying linshare.war on my server, when trying to restart the tomcat8 service this error pop on the log.
[INFO]:localhost-startStop-1:20171115.030234:org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer:loadProperties:Loading properties file from ServletContext resource [/${linshare.config.path}/jackRabbit.properties] [WARN]:localhost-startStop-1:20171115.030234:org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer:loadProperties:Could not load properties from ServletContext resource [/${linshare.config.path}/jackRabbit.properties]: Could not open ServletContext resource [/${linshare.config.path}/jackRabbit.properties] [WARN]:localhost-startStop-1:20171115.030234:org.springframework.web.context.support.XmlWebApplicationContext:refresh:Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat8/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in string value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in string value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare" [ERROR]:localhost-startStop-1:20171115.030234:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSourceHibernate' defined in file [/var/lib/tomcat8/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Could not resolve placeholder 'LINSHARE_HOME' in string value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in string value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare" at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:211) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:222) at org.linagora.linshare.core.utils.PropertyPlaceholderConfigurer.processProperties(PropertyPlaceholderConfigurer.java:56) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:86) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:166) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4832) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1703) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'LINSHARE_HOME' in string value "jdbc:h2:file:${LINSHARE_HOME}/var/lib/linshare/db/linshare" at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174) at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:162) at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126) at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:258) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282) at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitPropertyValues(BeanDefinitionVisitor.java:141) at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:82) at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:208) ... 23 more Nov 15, 2017 3:02:34 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart Nov 15, 2017 3:02:34 AM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/linshare] startup failed due to previous errors Nov 15, 2017 3:02:34 AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deployment of web application archive /var/lib/tomcat8/webapps/linshare.war has finished in 12,691 ms Nov 15, 2017 3:02:34 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory /var/lib/tomcat8/webapps/ROOT Nov 15, 2017 3:02:34 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deployment of web application directory /var/lib/tomcat8/webapps/ROOT has finished in 299 ms Nov 15, 2017 3:02:34 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-nio-8080"] Nov 15, 2017 3:02:34 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 13105 ms

I've done everything on the installation guide. But when i open up my apache website from browser the linshare admin panel shows but not working at all.

Config guide language

Is there any way to obtain the Configuration guide in English? The one on the site is only in French.

first login issue with 2.0.3

Hi,
after installing linshare, I tried to login with default account but the system respon "bad credential".
I looked at the account table of the database, no entry...
I looked at the import-postgresql.sql file, I copy the insert of the admin account and I obtain an error message. something like
constraint key violation for column purge_step.

There is no value for column purge_step but it should.

What value can I put to make it work?
Is there others errors in the import file?

Thanks.

[Linshare 2.1.1] org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed

I have updated a Linshare server from version 2.1.0 to 2.1.1.
After rebooting, Linshare does not work anymore. In the catalina.out log file there is the error message:

[ERROR]:localhost-startStop-1:20180530.151913:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'safeDetailService' defined in file [/var/lib/tomcat8/webapps/linshare/WEB-INF/classes/springContext-service.xml]: Bean instantiation via constructor
failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.linagora.linshare.core.service.impl.SafeDetailServiceImpl]: Constructor threw exception; nested exception is java.lang.IllegalAr
gumentException: SafeDetail Invalid arguments
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.linagora.linshare.core.service.impl.SafeDetailServiceImpl]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: SafeDetail Invalid arguments
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 27 more
Caused by: java.lang.IllegalArgumentException: SafeDetail Invalid arguments
at org.linagora.linshare.core.service.impl.SafeDetailServiceImpl.(SafeDetailServiceImpl.java:73)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 29 more
30-May-2018 15:19:13.947 GRAVE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
30-May-2018 15:19:13.948 GRAVE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Erreur de démarrage du contexte [/linshare] suite aux erreurs précédentes

Regards.

[2.1.1] Default admin password

Hello,

After installation, we got out of the box account: [email protected] how to change the password for it?

Going to users screen and searching via email does not bring user across, also weird behavior is that in users screen I gave myself (linked via AD) administrator privileges - can login after this to Admin interface but cannot see half of the options (just users and audit).

Thanks
Dariusz

Trouble installing on Centos 7

Hello, Im trying to install LinShare 2.2.1 on CentOS 7 using the linshare-install-centos-7.md guide posted here on GitHub.

I was able to get through all the steps and all of the services are running, but I notice when I hit the URL the pages comes up all mal-formed, and the formatting appears to be broken. I'm also not sure if it's related but this message appears during the TomCat startup:

Jan 05 14:22:02 linshare.local server[15413]: SEVERE: The web application [/linshare] appears to have started a thread named [com.google.inject.internal.util.$Finalizer] but has failed to stop it. This is very likely to create a memory leak.

It is also not creating the catalina log file at /var/tomcat/logs/catalina.out, but from what i've read this may be normal with the current version of CentOS & TomCat.

unable to connect

Hi,

I have tested the linshare installation and I have the two interfaces but i face two issues:
1- my linshare administration interface is empty. I just have the header "LinShare administration interface" with icons (home. language, user) but no content on the page. I don't know if it is normal.
2- I can not access to the user interface with the login parameters.

thx

Probléme de démarrage linshare admin

j'ai suivi les étapes d'installation pour Debian 8.9 jessie sans aucune erreur
version de linshare 2.1.1
https://github.com/linagora/linshare/blob/master/documentation/FR/installation/linshare-install.md

quand j’accède a linterface d'administration j'ai une fenetre vide login en root
image

voila le journal de démarrage /var/log/tomcat8/catalina.out
https://pastebin.com/Up4KgZiA

c'est la 10éme fois que je refais l'installation sans aucun resultat toujours le méme probléme

No root resource matching request has been found

Hi,
I have deployed version 2.1 using latest installation guide on ubuntu 16.0.4LTS. Catalina shows me these errors:

[WARN]:localhost-startStop-1:20180218.203650:org.thymeleaf.standard.serializer.StandardJavaScriptSerializer:handleErrorLoggingOnJacksonInitialization:[THYMELEAF] Could not initialize Jackson-based serializer even if the Jackson library was detected to be present at the classpath. Please make sure you are adding the jackson-databind module to your classpath, and that version is >= 2.5.0. THYMELEAF INITIALIZATION WILL CONTINUE, but Jackson will not be used for JavaScript serialization. Set the log to DEBUG to see a complete exception trace. Exception message is: com.fasterxml.jackson.databind.ObjectMapper.disable([Lcom/fasterxml/jackson/core/JsonGenerator$Feature;)Lcom/fasterxml/jackson/databind/ObjectMapper;
[WARN]:localhost-startStop-1:20180218.203650:org.thymeleaf.templatemode.TemplateMode:parse:[THYMELEAF][localhost-startStop-1] Template Mode 'HTML5' is deprecated. Using Template Mode 'HTML' instead.

and it then continue as follows:
[WARN]:http-nio-8080-exec-8:20180218.204524:org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor:processRequest:No root resource matching request path /linshare/webservice/rest/admin/webservice/rest/admin/upgrade_tasks has been found, Relative Path: /webservice/rest/admin/upgrade_tasks. Please enable FINE/TRACE log level for more details.
etc...

I was not able to solve this issue. Could please help me? Thank you.

onglet Fichiers : choix du nombre de fichiers à afficher par page

Bonjour,

Serait-il possible d'envisager dans les prochaines versions un système où l'utilisateur pourrait choisir le nombre de fichiers à afficher par page dans l'onglet "Fichiers".

En effet, si l'on souhaite partager deux fichiers en même temps et que ces deux fichiers ce trouvent sur des pages différentes on est obligé de réaliser l'opération en deux fois.

Choisir le nombre de fichiers à afficher par page permettrait dans ce cas de faire en sorte que tous les fichiers apparaissent sur la même page et réaliser un transfert groupé en une seule fois au lieu de deux.

Merci
Olivier

Mongo issue when starting tomcat

Hi,

I have followed your documentation for linshare 2.2.1 in centos. I am able to see the user interfaces but the admin interfaces only shows the header and an empty page.

This is the tomcat log:

v 19, 2018 12:21:08 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext
Nov 19, 2018 12:25:48 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Nov 19, 2018 12:25:48 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
Nov 19, 2018 12:26:01 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initMongoServiceImpl' defined in file [/var/lib/tomcat/webapps/linshare/WEB-INF/classes/springContext-mongo.xml]: Invocation of init method failed; nested exception is org.linagora.linshare.core.exception.BusinessException: User with uuid : [email protected] not found.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1708)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.linagora.linshare.core.exception.BusinessException: User with uuid : [email protected] not found.
at org.linagora.linshare.core.service.impl.UserServiceImpl.findByLsUuid(UserServiceImpl.java:180)
at org.linagora.linshare.core.service.impl.InitMongoServiceImpl.init(InitMongoServiceImpl.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1833)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1776)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1704)
... 25 more

Nov 19, 2018 12:26:01 AM org.apache.catalina.core.ApplicationContext log
INFO: Closing Spring root WebApplicationContext

SMS OTP Feature Request

Hi there,
I would like to propose adding the following feature:

When sending out a file link message to a recipient, instead of including a password within the invitation email message, have the option to send it through an SMS message. This would achieve greater security and in addition authenticates the recipient's identity much more strongly.

The SMS message can technically be sent using an external script supplied by the admin (script which handles authentication and actual data transfer with the mobile provider). In addition, the LinShare GUI would have to ask for a mobile number that is to be associated with each email recipient. It would also be nice if LinShare keeps this number in its database and maintains its relationship with the email address, such that future sends to the same recipient won't require inserting the number again.

If implemented, One Time Passwords sent through SMS can be simpler than those that are currently sent via email, and for example can be limited to just digits in a predefined length (6 to 8 digits should suffice).

Thanks!
Uri

calendar bug on 2.1.3

Hello,
in the 2.1.3 version of the user UI, I saw a bug with the calendar.
The colored circle that show the current date and the selected one is bad placed.
See in attached file.
I didn't have this bug on the 2.1.0 version.
I have this bug with all updated web browser (IE, FF, Opera, Chrome).
pb-calendrier

Unable to login

Hello,

On Chrome in OSX, while navigating to the website, I do not progress past the login screen. These are the steps to reproduce:

  1. Navigate to web app, get redirected to http:///index.html#/dashboard with login prompt
  2. Enter credentials [email protected] and password1 then connection
  3. There is a loading red line on the top, but the login box remains:
    screen shot 2016-11-14 at 16 05 03

If I manually reload the page I see a blank page:
screen shot 2016-11-14 at 16 06 30

Checked tomcat logs, I can see user John Doe has authenticated:
screen shot 2016-11-14 at 16 11 58

Not sure why the app isn't loading. Can you help?

Many thanks,
Nigel

Probléme de partage

Bonjour,

J’ai installé la version linshare 2.0.3 sur Redhat 7.3 en suivant la documentation linshare-install-centos-7.md.
Jusqu’à présent j'arrive à me connecter et uploader les fichiers, sauf que quand je procédé au partage des fichiers je reçois l'erreur suivant "Mauvais Passerelle"

Pourriez-vous svp, m'aider a résoudre ce problème.

Ci-après les logs Tomcat.

[Thu Dec 21 14:05:51.604757 2017] [proxy_http:error] [pid 17807] (70007)The timeout specified has expired: [client 10.100.120.223:57638] AH01102: error reading status line from remote server 127.0.0.1:8080, referer: http://linshare-user.local/
[Thu Dec 21 14:05:51.604867 2017] [proxy:error] [pid 17807] [client 10.100.120.223:57638] AH00898: Error reading from remote server returned by /linshare/webservice/rest/user/v2/shares, referer: http://linshare-user.local/

Cordialement

[2.1.1] English interface acting weird

Hi,

Got a problem with a brand new installation that currently testing, followed installation guide and installed it on t2.large (EC2) and Centos7. Translation acting really weird.

Example below:

  • Login to website
  • No 404 errors on Network activity list
  • Some of the strings are not translated
    screenshot1-translation-not-working
  • Hit F5
  • Can see some 404 errors on Network Tab
    screenshot2-translation-working-f5
  • Can see something weird in apache error log for user interface
    screenshot3-httpd-error-log
  • ... but translation works

Tomcat log does not show any problems (just normal INFO level messages), httpd config is exactly same like provided in example (only ServerName changed) and the machine is not over-utilized (LinShare is only stack running there).

I think the problem is related (based on errors from apache log) to reverse proxy? Can anyone advise on how we can fix this issue as it's now not a great presentation for potential clients who will use solution?

Thanks
Dariusz

Pas de prévisualisation

Bonjour,

j'ai installé la version 2.1 de linshare sur une machine centOS 7.

Je rencontre des problèmes avec la prévisualisation. J'ai pourtant suivi l'installation et la configuration de thumbnail décrites sur ce lien https://github.com/linagora/linshare/blob/master/documentation/FR/installation/linshare-install-centos-7.md#thumbnail.

Y a t-il des configurations supplémentaires à faire pour que l'outil marche ? Le problème semble venir du service : il ne reste pas actif plus d'une minute et semble être stoppé par la commande javac qui renvoie de "multiple exceptions".

systemctl status linshare-thumbnail.service
● linshare-thumbnail.service - LinShare thumbnail server
Loaded: loaded (/etc/systemd/system/linshare-thumbnail.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since ven. 2018-08-03 12:12:01 CEST; 2h 31min ago
Process: 29661 ExecStart=/usr/bin/java -jar /usr/local/sbin/linshare-thumbnail-server.jar server /etc/linshare/linshare-thumbnail-server.yml (code=exited, status=1/FAILURE)
Main PID: 29661 (code=exited, status=1/FAILURE)

août 03 12:10:58 TSTSRXW03 systemd[1]: linshare-thumbnail.service: main process exited, code=exited, status=143/n/a
août 03 12:10:58 TSTSRXW03 systemd[1]: Unit linshare-thumbnail.service entered failed state.
août 03 12:10:58 TSTSRXW03 systemd[1]: linshare-thumbnail.service failed.
août 03 12:10:58 TSTSRXW03 systemd[1]: Started LinShare thumbnail server.
août 03 12:10:58 TSTSRXW03 systemd[1]: Starting LinShare thumbnail server...
août 03 12:12:01 TSTSRXW03 java[29661]: Multiple exceptions
août 03 12:12:01 TSTSRXW03 systemd[1]: linshare-thumbnail.service: main process exited, code=exited, status=1/FAILURE
août 03 12:12:01 TSTSRXW03 systemd[1]: Unit linshare-thumbnail.service entered failed state.
août 03 12:12:01 TSTSRXW03 systemd[1]: linshare-thumbnail.service failed.

Cordialement,

Elise

Trouble installing on Ubuntu 18.04

OS : Ubuntu 18.04
linshare version : 2.2.3

tomcat8 start with error :
Unresolvable class definition for NamespaceHandler class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs]

Could you help me

tail /var/log/tomcat8/catalina.out

[ERROR]:localhost-startStop-1:20190207.104847:org.springframework.web.context.ContextLoader:initWebApplicationContext:Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/var/lib/tomcat8/webapps/linshare/WEB-INF/classes/springContext-webservice-admin.xml]; nested exception is org.springframework.beans.FatalBeanException: Unresolvable class definition for NamespaceHandler class [org.apache.cxf.jaxrs.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxrs]; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:413)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:223)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:194)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)

Problem with integration with LDAP

I have problem with integration of Linshare 2.0 beta with LDAP. I managed to connect and find users, but authentication doesn't work. Does Linshare support hashed passwords in LDAP database? It works fine with LDAP included in demo VM downloaded, but that LDAP have unencrypted password in its database. I can't find any docs about it.

Langue des mails de notification

Bonjour,
les mails de notifications d'ajout ou de suppression d'un utilisateur à un groupe ne prend pas en compte la langue de l'utilisateur. Du moins ils sont systématiquement en anglais.
je suis sur la version 2.1.1 de Linshare

Default User quota

Hello,
my Product version is 3.1.0.
When I modify the user quota for a specific user (tested on 2), from personalized quota to default quota (clicking on the "chain" icon) the "User's personal space allocated quota" is the one configured for the domain, but when I save the modification, the UI indicate 5GB (instead of 10).
The "User's max upload file size in Personal Space" is the good one.

SSO in LinShare 2.0.0-beta

There was possibility to integrate LinShare 1.x with CAS server. Is there such possibility with new version?

i18n Not translating correctly

image

i18n tags not being translated in the web interface.
xhr calls returning 404.
extracting the filesystem of the docker images and searching for the files returns nothing.

any assistance with the missing files in the xhr calls?

Troubling in db connectivity while instaling linshare on centos 7

Hey Technology enthusiasts ,

I am facing isssues while installing the linshare on cent os 7. And after spending continuos 2-3 days of sleepless nights still not able to debug the issue.

I followed the instructions mentioned in well documented document i.e. Installing linshare on 👍

I did stop the firewalld service.
Attaching the pg_hba.conf, postgres.conf

postgresql.txt
pg_hba.txt

I am getting the following exception :

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAdvice': Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [/var/lib/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/var/lib/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to obtain JDBC Connection
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1611)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1363)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:580)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:409)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:291)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in file [/var/lib/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/var/lib/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to obtain JDBC Connection
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:378)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:110)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1611)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1363)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:580)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)
... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/var/lib/tomcat/webapps/linshare/WEB-INF/classes/springContext-datasource.xml]: Invocation of init method failed; nested exception is org.hibernate.exception.GenericJDBCException: Unable to obtain JDBC Connection
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1708)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:367)
... 38 more
Caused by: org.hibernate.exception.GenericJDBCException: Unable to obtain JDBC Connection
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:109)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:95)
at org.hibernate.tool.schema.extract.internal.ExtractionContextImpl.getJdbcConnection(ExtractionContextImpl.java:65)
at org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.extractMetadata(SequenceInformationExtractorLegacyImpl.java:40)
at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.initializeSequences(DatabaseInformationImpl.java:64)
at org.hibernate.tool.schema.extract.internal.DatabaseInformationImpl.(DatabaseInformationImpl.java:60)
at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:80)
at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:475)
at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:444)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:711)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:727)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:535)
at org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1767)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1704)
... 45 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:122)
at org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcEnvironmentInitiator.java:180)
at org.hibernate.tool.schema.extract.internal.ExtractionContextImpl.getJdbcConnection(ExtractionContextImpl.java:62)
... 57 more
Caused by: org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:245)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
... 62 more
Caused by: java.net.ConnectException: Permission denied (connect failed)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.postgresql.core.PGStream.(PGStream.java:69)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:156)
... 70 more

unable to login linsahre-user console

Hi Team,

I'm unable to login linshare-user console. The error is " The server is temporary not responding". There is no issue to login admin console and uploadproposition console.
Please find the tomcat error log.
"No root resource matching request path /linshare/webservice/rest/user/v2/authentication/authorized has been found"
The below are the Linshare Version used for it.
linshare-ui-user-2.1.1
Admin Product version : 3.1.1
Core version : 1.12.8
linshare-core-1.12.8-sql.tar.bz2

Please help me to resolve it.

Regards,
George.

Change email "From" value

Hi there,

Thank you for creating such a beautiful project. We are testing out LinShare and after finally getting up to work, found that it uses a constant address "[email protected]" as its from address in all outgoing email messages.

Can this constant be changed to something of our own? The most preferable situation would be to use the logged-in sender user's email address (such that replies by destination users will return correctly to the original sender)

Thanks!
Uri

anonymous share issue

Hi,
I still have an issue with the anonymous share function (on 2.2.1 version).
When I create an anonymous share for a file, when I try to access to the generated link (https://FQDN/#/external/anonymous/xxxxxxxxxxxxx) I'm redirected to the main login page.
In log file, I can see
[ERROR]:http-bio-8080-exec-6:20190114.112849:org.linagora.linshare.webservice.interceptor.BusinessExceptionMapper:toResponse:A BusinessException was caught : code=ANONYMOUS_URL_FORBIDDEN, You do not have the right to get this anonymous url : 57e73c3a-0c84-464f-b94d-49c749eaf8ca

The functionality is activated in the configuration, I don't understand why it still doesn't work.
bug or error of configuration?
I think it previously works but not sure.

Thanks for any help.

missing file on linshare-core-2.1.0-1.war

On Centos 7 install document say:
"unzip -c linshare.war WEB-INF/classes/sql/postgresql/import-postgresql.sql | psql -U linshare -W -d linshare
Password for user linshare: {PASSWORD}"

And then file import-postgresql.sql is missing

linshare installation ubuntu 16 or centos 7 minimal

Hi Team,

Your doing greate work!,
I am trying to install linshare in my virtual machine,i folloewd document in installation centos 7 still I am not able to install exectly, please any one can give me step by step installtion or please record video and share.

demo site down

http://demo.linshare.org/ is down. It's claiming to be under maintenance a very long time.

Further more an https call on the demo site leads to SSL_ERROR_RX_RECORD_TOO_LONG error in firefox.

S3 storage mode is not working in some AWS regions

S3 storage mode doesn't work for AWS regions not supporting requests signature version 2. Tested on eu-central-1, here is the exception in the logs

org.jclouds.http.HttpResponseException: request: HEAD https://s3-eu-central-1.amazonaws.com/redacted HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request

same setup on eu-west-1 is working

jclouds supports V4 signature in the version included in linshare

I don't have much time to work on this mostly because I'm new to linshare. If the effort is light I'd appreciate some pointers to fix this

[Linshare 2.1.1] Quota issue for guests

Hi,

According to the page (https://forge.linshare.org/boards/1/topics/1634?r=1647) it is indicated that the quota problem for the guests is corrected in the 2.1.1-SNAPSHOT version.

Today, I updated Linshare to version 2.1.1 downloaded from "http://download.linshare.org/" and the quota bug is still present.

[INFO]:http-nio-8080-exec-10:20180530.171028:org.linagora.linshare.core.service.LogEntryService:insert:AuditLogEntry [AuthUser=AccountMto [firstName=null, lastName=null, name=Frederic, mail=, uuid=, role=SIMPLE, accountType=GUEST, domain=org.linagora.linshare.mongo.entities.mto.DomainMto], resourceUuid=, action=SUCCESS, type=AUTHENTICATION, creationDate=Wed May 30 17:10:28 CEST 2018]
[INFO]:http-nio-8080-exec-10:20180530.171028:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/user/v2/authentication/authorized : Request time: 28 ms
[INFO]:http-nio-8080-exec-9:20180530.171028:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:OPTIONS:/linshare/webservice/rest/user/v2/authentication/authorized : Request time: 2 ms
[INFO]:http-nio-8080-exec-8:20180530.171028:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:OPTIONS:/linshare/webservice/rest/user/v2/authentication/authorized : Request time: 1 ms
[INFO]:http-nio-8080-exec-4:20180530.171028:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/user/v2/authentication/authorized : Request time: 31 ms
[INFO]:http-nio-8080-exec-1:20180530.171028:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/user/v2/functionalities : Request time: 220 ms
[ERROR]:http-nio-8080-exec-5:20180530.171028:org.linagora.linshare.webservice.interceptor.GenericExceptionMapper:toResponse:A NullPointerException was caught : null.
java.lang.NullPointerException
at org.linagora.linshare.core.facade.webservice.user.impl.AccountQuotaFacadeImpl.find(AccountQuotaFacadeImpl.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy127.find(Unknown Source)
at org.linagora.linshare.webservice.userv2.impl.QuotaRestServiceImpl.find(QuotaRestServiceImpl.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:262)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:120)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.linagora.linshare.auth.jwt.JwtAuthenticationFilter.doFilterInternal(JwtAuthenticationFilter.java:64)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.linagora.linshare.auth.CORSRequestFilter.doFilterInternal(CORSRequestFilter.java:63)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
[INFO]:http-nio-8080-exec-5:20180530.171028:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/user/v2/quota/c9e1f895-8ea1-4e22-a4c7-6281185b8fc9 : Request time: 36 ms
[INFO]:http-nio-8080-exec-6:20180530.171029:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/user/v2/welcome_messages : Request time: 22 ms
[INFO]:http-nio-8080-exec-3:20180530.171029:org.linagora.linshare.webservice.interceptor.TimingOutInterceptor:handleMessage:GET:/linshare/webservice/rest/user/v2/authentication/version : Request time: 6 ms

Regards.

Guest : Not able to create new guests as any user

Im having an issue with the creation of guest users under the user-ui web interface. The server is responsing with a 403 error for all users (even administrators) when trying to create a guest.

Im currently running in a docker environment with LDAP to a MS environment working.

There is an instance of caddy being used as a transparent TLS-handoff proxy

## General
Request URL: https://files.tld.com/linshare/webservice/rest/user/v2/guests
Request Method: POST
Status Code: 403 
Remote Address: <masked-ip>:443
Referrer Policy: no-referrer-when-downgrade

## Response Headers
access-control-allow-credentials: true
access-control-allow-origin: https://files.tld.com
cache-control: max-age=0,no-cache,no-store
content-length: 71
content-type: application/json
date: Mon, 13 Aug 2018 01:23:20 GMT
server: Apache/2.4.33 (Unix)
server: Caddy
status: 403
x-linshare-post-logout-url: ${LOGOUT_REDIRECT_URL}
x-linshare-safe-mode: 

## Request Headers
:authority: files.tld.com
:method: POST
:path: /linshare/webservice/rest/user/v2/guests
:scheme: https
accept: application/json, text/plain, */*
accept-encoding: gzip, deflate, br
accept-language: en-GB,en-US;q=0.9,en;q=0.8
cache-control: no-cache
content-length: 302
content-type: application/json;
cookie: __utmz=164717420.1526340631.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _ga=GA1.3.1737413194.1526340631; __utma=164717420.1737413194.1526340631.1529912474.1530238182.6; JSESSIONID=BF405E06559149FA31D7F0D744D0BDB1
dnt: 1
origin: https://files.tld.com
pragma: no-cache
referer: https://files.tld.com/
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
www-no-authenticate: linshare

## Request Payload
{
	canUpload: true, 
	comment: "", 
	expirationDate: 1534687199999, 
	firstName: "test", 
	lastName: "user",
	mail: "[email protected]",
	restricted: true,
	restrictedContacts: [
		{
			firstName: "internal", 
			lastName: "Admin", 
			domain: "11dd0cbc-3a58-4880-a5ee-0da64f65a09c",
			mail: "[email protected]"
		}
	]
}

Am i missing something in the configuration?

workgroup user deletion issue

Hi,
on my installation (3.1.1 and 3.1.3), it seems to have an issue with deletion of users in workgroup. Since the expiration of the guest users, everyday, I see in audit that the user has been deleted.
I can see several user deletion but less frequently.
see in screenshot
image

problem with anonymous share

Hi,
my anonymous shares didn't works anymore.
I thought it was because I disabled the "linshare.datastore.class=org.linagora.linshare.core.dao.EncDbDataStore" parameter but after enabling it again it works for some tests but now it didn't works anymore.
The link show only a white page without any error message in the browser.

Any idea of what's wrong?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.