We have many users and files on ver 2.4.0 and i built a new server with filelocker version 2.6.1. is there a process to copy all the files users share from old server to new server and still have things work ? -Angelo
We have many users and files on ver 2.4.0 and i build i new server with filelocker version 2.6.1. is there a process to copy all the files users share from old server to new server and still have things work ? -Angelo
Unable to change user passwords
I'm having a similar issue; in my instance, it looks like a database error resulting from foreign key constraints prevents it from cleaning up the database entry which throws an exception, preventing the file from being deleted. Before I dig too far into the stack to figure out what's causing my error, I figured I'd see if we're having the same issue. Do you have any database errors in the error log relating to file cleanup? If you do, would you mind posting them here?
We fixed the problem. Had to do with apache timeout config. Solution below: == noticed scan\encrypt progress bar stuck forever when uploading a file == /etc/httpd/logs/ssl_error_log shows proxy timeout error in apache I've increased timeout, restarted apache and it works now * the working config of /etc/httpd/conf.d/filelocker-ssl.conf is below <virtualhost *:443=""> Servername xxx RequestHeader set X-Forwarded-Proto "https" Options +FollowSymLinks #Proxy ProxyPass / http://xxx ProxyPassReverse /...
Temp files created by uploads not being removed
We are running Filelocker v2.6 and Python 2.7.5 on CentOS 7.6.1810 with ClamAV 0.101.2/25528 yum installed from the EPEL repository. It has been working just fine for the last year. Recently, however, we have started to notice that the "Scanning and Encrypting" yellow bar message that draws when uploading a file does not go away (even though "top" tells us the clamscan process is no longer running). Running clamscan at the command line for files 2 to 161kB in size takes about 84 seconds. The user...
We are running Filelocker v2.6 and Python 2.7.5 on CentOS 7.6.1810 with ClamAV 0.101.2/25528 yum installed from the EPEL repository. It has been working just fine for the last year. Recently, however, we have started to notice that the "Scanning and Encrypting" yellow bar message that draws when uploading a file does not go away (even though "top" tells us the clamscan process is no longer running). Running clamscan at the command line for files 2 to 161kB in size takes about 84 seconds. The user...
Hello, I am attempting to make the application send email via Office 365 using TLS and smpt auth. After making the changes and then try to share a file (which sends a link via email), I get the following error: Details: Failed to create public share: STARTTLS extension not supported by server. Any idea what I can do to fix it?
javascript error on fileuploader.js
Tobin . Any luck moving forwared with the LDAP auth ?
Here is my new fresh install and setup of filelocker2 on Rhel7.5. My goal of this is to help other newbees and im just keeping it simple for now.. First read the installer howto on github to get a feel for whats up. I did notice the installer only talks an upgrade. Nothing about a new install. So i followed this setup guide to setup my data I had nothing to startup mariadb sql server. http://www.jachin.org/home/operating-systems/filelocker2 Im showing how to use the same password that is in the example.conf...
Here is my new fresh install and setup of filelocker2 on Rhel7.5.
Maybe try using an older version of python like 2.7.5 on another test machine. Also, filelocker requires cherrypy to run as well so you will need to install that eventually. I have cherrypy 3.2.2 installed on my machine. Shane Garnetti Web Application Server Administrator Eastern Washington University email: sgarnetti76@ewu.edusgarnetti76@ewu.edu phone: 509-359-2019 On Jun 23, 2018, at 04:28, Craig Harding charding@users.sourceforge.net<mailto:charding@users.sourceforge.net> wrote: Trying to see...
Trying to see the options for the command. I have not idea what all the command line options are so I'm using that option which is pretty reconizable for seeing what the options are. Initially I'm just trying to make sure it works. I don't have cherrypy installed. The above error tells me it's a python syntax error upfront.
I have it runnining on Centos 7 with python 2.7.5 successfully. May I ask why you need the "-h" flag? The "-i" option will create your MySQL tables needed for install. Are you running this as root or with "sudo" preceding the "python setup.py" command? Also what version of cherrypy do you have?
Python Version
Login issue as default Admin
Yes. We're having the same problem. Filelocker v2.6, CentOS 7.4.
https://sourceforge.net/p/filelocker2/bugs/98/#2480
Hi all - After much elbow grease, I have it running on CentOS 7.4. Build and config instructions are here. https://sourceforge.net/p/filelocker2/bugs/98/#2480
Hi Bogi. I an on filelocker v2.6 and have the same problem. Were you ever able to get it working?
https://sourceforge.net/p/filelocker2/bugs/98/#2480
I got it to work with Apache. My proxy, SSL, and CherryPy configs are here: https://sourceforge.net/p/filelocker2/bugs/98/#2480
Hi Dave - I had success so far getting it running on CentOS 7.4. Install, and all configs I used are at: https://sourceforge.net/p/filelocker2/bugs/98/?limit=25#2480
Just got it working over SSL This is my working Apache Proxy and SSL Configuration: <VirtualHost *:443=""> Servername filelocker.ebbahubba.edu RequestHeader set X-Forwarded-Proto "https" Options +FollowSymLinks ProxyPass / http://[ip of local machine]:8080/ ProxyPassReverse / http://[ip of local machine]:8080/ ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log LogLevel warn SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS...
Just got it working over SSL This is my working Apache Proxy and SSL Configuration: <VirtualHost *:443=""> Servername filelocker.mills.edu RequestHeader set X-Forwarded-Proto "https" Options +FollowSymLinks ProxyPass / http://[ip of local machine]:8080/ ProxyPassReverse / http://[ip of local machine]:8080/ ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log LogLevel warn SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS...
Hey all - just an update. I was able to get it working with CentOS 7.5. Installation I used is here: MariaDB installation: https://www.tecmint.com/install-mariadb-in-centos-7/ Packages installed by yum: python MySQL-python python-crypto python-cheetah python-json python-ldap SOAPpy python-cherrypy python-twisted-core python-sqlalchemy
Just got it working over SSL This is my working Apache Proxy and SSL Configuration: <VirtualHost *:443=""> Servername filelocker.mills.edu RequestHeader set X-Forwarded-Proto "https" Options +FollowSymLinks ProxyPass / http://[ip of local machine]:8080/ ProxyPassReverse / http://[ip of local machine]:8080/ ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log LogLevel warn SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS...
Just got it working over SSL This is my working Apache Proxy and SSL Configuration: <VirtualHost *:443=""> Servername filelocker.mills.edu RequestHeader set X-Forwarded-Proto "https" Options +FollowSymLinks Proxy ProxyPass / http://[ip of local machine]:8080/ ProxyPassReverse / http://[ip of local machine]:8080/ SSL ErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log LogLevel warn SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLHonorCipherOrder on SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS...
Hey all - just an update. I was able to get it working with CentOS 7.5. Installation I used is here: MariaDB installation: https://www.tecmint.com/install-mariadb-in-centos-7/ Packages installed by yum: python MySQL-python python-crypto python-cheetah python-json python-ldap SOAPpy python-cherrypy python-twisted-core python-sqlalchemy
install problem when using setup.py -r
The Filelocker.request function automatically includes the required key for POST requests. But rather than using Filelocker.request, the .csv uploader for bulk users utilizes an external uploader (http://github.com/Valums-File-Uploader/file-uploader), and so the required key (requestOrigin) isn't sent along. A fix is to edit this javascript file: <filelocker_root>/static/js/admin.js Add requestOrigin as an additional parameter in the setParams function at line 1012. Now the POST data will include...
Further investigation leads me to believe that the problem is directly related to the NFS volume mounted from our netapp filer. Adding a sub-directory for the vault seems to resolve the large uploads problem. When trying to upload to the root of the nfs mount, I see [0]fltmp.. created, and it disappears shortly thereafter - repalced by a new file .nfs000... then when it comes time to clamscan and encrypt, it can't find the original file. I'll keep investigating and will post more as I learn it.
large file uploads fail
I forgot to include: ldap_is_active_directory: No
Hi Justin, I just wanted to let you know that this code kind of worked for me, but presented a new error message. I opened another ticket here: https://sourceforge.net/p/filelocker2/bugs/97/ Thank you, Joe
LDAP authentication errors
Is there going to be a fix for this issue? We're running into the same problem, same versions, upgrading from 2.4.5 to 2.6.1.
You're welcome! I did a little more digging earlier today and it looks like those field names are used in other files throughout the application so I'm sure some of them will need to be updated accordingly, as well.
Thanks for the details!!! The CLI code was mostly re-written in 2.6, so it operates a bit differently in the DB now. But this should be very helpful. Thanks!
2.6.1 backup of legacy installation doesn't work.
I've run into a similar issue but not exactly the same as posted initially: [root@filelocker-dev filelocker]# python setup.py -u -f /tmp/db_backup.xml Traceback (most recent call last): File "setup.py", line 139, in <module> backup_legacy_db(dburi, options.datafile, host, username, password, db) File "setup.py", line 75, in backup_legacy_db converter.port_database(outfile) File "/opt/filelocker/lib/DBTools.py", line 244, in port_database cliKeys = self.GetAllCliKeys() File "/opt/filelocker/lib/DBTools.py",...
I've run into a similar issue but not exactly the same as posted initially: [root@filelocker-dev filelocker]# python setup.py -u -f /tmp/db_backup.xml Traceback (most recent call last): File "setup.py", line 139, in <module> backup_legacy_db(dburi, options.datafile, host, username, password, db) File "setup.py", line 75, in backup_legacy_db converter.port_database(outfile) File "/opt/filelocker/lib/DBTools.py", line 244, in port_database cliKeys = self.GetAllCliKeys() File "/opt/filelocker/lib/DBTools.py",...
I've run into a similar issue but not exactly the same as posted initially: [root@filelocker-dev filelocker]# python setup.py -u -f /tmp/db_backup.xml Traceback (most recent call last): File "setup.py", line 139, in <module> backup_legacy_db(dburi, options.datafile, host, username, password, db) File "setup.py", line 75, in backup_legacy_db converter.port_database(outfile) File "/opt/filelocker/lib/DBTools.py", line 244, in port_database cliKeys = self.GetAllCliKeys() File "/opt/filelocker/lib/DBTools.py",...
The issue looks to be that the field name(s) for the cli_key table are different between version 2.4 and 2.6. I tried hacking a bit to get it to work but figured this would be the more preferrable location to request it to be updated.
Sorry I have not responded here sooner, I will need to create a legacy DB to attempt to reproduce this. Unless someone with a working 2.4 install could create an fresh db with some test data in it for me to reproduce with.
Never found a resolution to this issue... There are a variety of issues trying to get this product to work on RHEL/Centos 6 or 7 from our experience...
Was there a resolution to this issue? I just installed from git and also having the same problem (filelocker 2.4.5). I also had to delete the entries in the 2.4 cli_key table, the script was having problems with host_ipv4. Running on Centos 7 with CherryPy 3.2.4. Thanks.
Fix var name in require_user
Bulk User Creation
CherryPy Version Issue
Note that after switching to 0.5.8 I had to edit the variable tools.SATransaction.dburi in <filelocker root="">/etc/Filelocker.conf by removing "+mysqldb", and then restart Filelocker for the changes to be effective.
SQLAlchemy Version Issue
Ohh I see now. I will re-open this, I am not the original dev here, so there are...
Filelocker does not behave correctly when config file option is not passed
Fixed in: https://sourceforge.net/p/filelocker2/git/ci/95225ae64e87c5d65473babb26e3eafbbceb075d/...
Fixed in: https://sourceforge.net/p/filelocker2/git/ci/95225ae64e87c5d65473babb26e3eafbbceb075d/...
Bug #90 Also catch -c specified non-existant file
Fixed in: https://sourceforge.net/p/filelocker2/git/ci/95225ae64e87c5d65473babb2...
Bug #90 cleaned up and fixed config file defaul...
Ohh I see now. I will re-open this, I am not the original dev here, so there are...
Filelocker does not behave correctly when config file option is not passed
I didnt miss anything. You are referring to a completely different block of code....
I'm encountering this issue when using Filelocker 2.6.1 and Active Directory. The...
I wanted to spin up a server to demo and did not have much luck. Using Ubuntu 16.04...
I'm in the process of seetting up a new filelocker installation. I've initialized...
I'm running on Rhel7.
Filelocker Issue
Hi, Is there a way to show proof that a user downloaded a specific file, and show...
Hi, Is there a way to show proof that user downloaded a specific file, and show additional...
Hi, Is there a way to show proof that user X downloaded file Y, and show additional...
Fixed creating a local user. did not fix deletion of a local user though. I had to...
Fixed creating a local user. did not fix deletion of a local user though. I had to...
Public shares can be set to expire beyond max_file_life_days limit
Closed, there is no bug here. the default config file loction is passed along through...
Closed, there is no bug here. the default config file loction is passed along through...
Filelocker does not behave correctly when config file option is not passed
You are missing an important line, spicifically "cherrypy.config.update(configfile)",...
Public shares can be set to expire beyond max_file_life_days limit
Adding permission exempt_expiration results in python x not in list error
Filelocker does not behave correctly when config file option is not passed
Unused column 'owned_groups' in class User prevents group creation
The solution is to simply comment the column 'owned_groups' in Models.py. The column...
I've recently built a filelocker2.6.1 instance and when I get the following when...
In case you want to do it directly in CherryPy, in your filelocker.conf file: server.ssl_module='pyopenssl'...
In case you want to do it directly in CherryPy: server.ssl_module='pyopenssl' server.ssl_certificate='/path/to/cert.file'...
We have rootpath set to rootpath="/opt/filelocker" in our config. New version appears...
We're using the release 2.6.1
Are you using the release, or code from git?
Also make sure that "root_path" in your filelocker.conf is pointing to the directory...
Are you using the release, or code from git? On Thu, Oct 13, 2016 at 11:56 AM, Christopher...
We're having trouble with upgrading Filelocker 2.4 to 2.6 on RHEL 6.8 - it appears...
Would you mind posting your apache proxy directives and filelocker.conf? Sans any...
Yep, I don't know why, but when I changed my rooturl, I can't log in. The server...
Not in SQL, but do make sure that "rooturl" in filelocker.conf reflects the https...
Thanks David! That was really helpful. I ended up using Apache since already had...
The most common method is to set up Apache or Nginx as a reverse proxy to the application,...
I followed a tutorial to successfully get the application up and running. Can anyone...