[Support] Linuxserver.io - Pydio


Recommended Posts

Permissions issue?

 

Pydio has been up and running fine for a while, i can access all my files. However, from the beginning i noticed an issue with folders created by other dockers (specifically, Transmission):

Folders i create in the unraid array (either by using MC on the server, or by accessing shares from my local network) can be manipulated with the Pydio gui (rename, move, delete etc).

Folders and files created by Transmission when downloading torrents i cannot do anything with, the options are grayed out.

I assume it's a permissions issue, but i don't know enough about linux to really check. any suggestions?

 

Thanks!

 

pydio.jpg.5c47d44bb7a1ecf2f700ede0c3a04418.jpg

Link to comment
  • 2 weeks later...

No, i'm using gfjardim/transmission - it's been working great, so i didn't think of changing it. should i? is there something i can check re:file permissions to verify what the issue is?

 

EDIT: Also, if using linuxserver.io's Transmission solves this issue moving forward, is there a way for me to fix the problem with the existing files?

 

Thanks

Link to comment
  • 2 weeks later...

How to correctly configure the sharing option?

 

 

http://i.imgur.com/FbsNmz1.png

No idea, post how you've got your container folder mappings set up and I'll take a look later tonight when I get home from work...

 

 

FYI, I just installed it via your template,  didn't mess with any other settings that was mentioned in this article:

https://pydio.com/en/docs/kb/system/configuring-public-link-pydio-6

 

 

plz help me take a look at it

 

volume mapping:

http://i.imgur.com/oTazQ6x.png

 

 

Share Settings in Pydio:

http://i.imgur.com/HCqVGaf.png

 

OK, I've never used Pydio and tbh I will not be using Pydio as I have no need for it.  We support the container not the underlying application, so I probably won't be able to take this any further than this post.  But your share settings in Pydio should not be set as /mnt/user/Pydio/public as in the container there is no /mnt/user/Pydio because it is a mapped folder and you have mapped it to /data

 

Following this logic /mnt/user/Pydio/public should be /data/public.

 

Always remember Linux is case sensitive too.

 

 

I figured it out,  your comment helped.  Ty

 

What I found out was there was no 'public' folder inside the 'data' folder,  I had to manually create both the 'public' folder and .htaccess file, and edit it per Pydio documentation here

https://pydio.com/en/docs/kb/system/configuring-public-link-pydio-6

 

sharing is working good now.

 

 

However, i sometimes get "database is locked" error message,  i'm using sqlite3,  might switch up to mysql later on.

 

I created both and my container is still unable to share files and documents.

Still saying that there is no .htaccess file.

Did you have to verify rewrite module?

Link to comment

Hey guys,

 

Have been trying to get my Pydio container to connect to my mariadb container for the past few hours to no prevail.

 

I keep getting the error : access denied for user 'pydiouser'@'172.17.0.11' (using password: YES)

 

I've tried deleting both containers and first creating the mariadb container, adding user pydiouser and creating the db pydio THEN creating the pydio container, but still nothing.. and I've triple checked that the pydiouser passwd is correct.

 

I am putting the Host as the internal IP of my Unraid server, so I don't see a reason why it won't authenticate. Any ideas??

 

EDIT:: Figured it out, duh.

Inside your MariaDB container, make sure you create the new user with "host" as "%" rather than localhost. So your command to create the pydio user should be:

CREATE USER 'pydiouser'@'%' IDENTIFIED BY 'password';

  • Like 1
Link to comment
  • 3 months later...

How to correctly configure the sharing option?

 

 

http://i.imgur.com/FbsNmz1.png

 

 

No idea, post how you've got your container folder mappings set up and I'll take a look later tonight when I get home from work...

 

 

FYI, I just installed it via your template,  didn't mess with any other settings that was mentioned in this article:

https://pydio.com/en/docs/kb/system/configuring-public-link-pydio-6

 

 

plz help me take a look at it

 

volume mapping:

http://i.imgur.com/oTazQ6x.png

 

 

Share Settings in Pydio:

http://i.imgur.com/HCqVGaf.png

 

OK, I've never used Pydio and tbh I will not be using Pydio as I have no need for it.  We support the container not the underlying application, so I probably won't be able to take this any further than this post.  But your share settings in Pydio should not be set as /mnt/user/Pydio/public as in the container there is no /mnt/user/Pydio because it is a mapped folder and you have mapped it to /data

 

Following this logic /mnt/user/Pydio/public should be /data/public.

 

Always remember Linux is case sensitive too.

 

 

I figured it out,  your comment helped.  Ty

 

What I found out was there was no 'public' folder inside the 'data' folder,  I had to manually create both the 'public' folder and .htaccess file, and edit it per Pydio documentation here

https://pydio.com/en/docs/kb/system/configuring-public-link-pydio-6

 

sharing is working good now.

 

 

However, i sometimes get "database is locked" error message,  i'm using sqlite3,  might switch up to mysql later on.

 

I created both and my container is still unable to share files and documents.

Still saying that there is no .htaccess file.

Did you have to verify rewrite module?

 

Same here getting the 404. I can create public links. So my download folder works I think. But i am not certain on my DL URL. "https://my_domain/data/public" or my htaccess in the (data/public folder) file is also FUBAR

 

Order Deny,Allow

Allow from all

 

<Files ".ajxp_*">

deny from all

</Files>

 

        <IfModule mod_rewrite.c>

        RewriteEngine on

        RewriteBase /data/public

        RewriteCond %{REQUEST_FILENAME} !-f

        RewriteCond %{REQUEST_FILENAME} !-d

        RewriteRule ^([.a-zA-Z0-9_-]+)\.php$ share.php?hash=$1 [QSA]

        RewriteRule ^([.a-zA-Z0-9_-]+)--([a-z-]+)$ share.php?hash=$1〈=$2 [QSA]

        RewriteRule ^([.a-zA-Z0-9_-]+)$ share.php?hash=$1 [QSA]

        </IfModule>

Link to comment
  • 3 weeks later...

Trying to configure Pydio to use MySQL.  MySQL Installed successfully, MySQL Workbench connects to DB just fine.  During installation, Pydio asks for database connection.  I provide particulars and then press test connection.  I get the following:

 

width=300http://my.jetscreenshot.com/12412/20160725-4hkt-134kb.jpg[/img]

 

I assumed the installation would create the database and tables?  I even tried creating a schema called pydio, but still no go.  Can't create tables, cause i don't know what they want...  I'm obviously missing something important...

 

 

 

Thanks!

 

Link to comment

I had setup MariaDB and HeidiSQL which worked (MariaDB on 3306:3306 internal:external).  Then setup MySQL and SQLWorkbench (MySQL on 3306:3307 internal:external), which also worked.  So on a whim I thought MariaDB might be confusing Pydio, so I tried to specify serverIP:3307 in the install screen, didn't work (504 gateway timeout).  So I just deleted the MariaDB container, reset MySQL to 3306:3306 and the test connection worked instantly.  Pydio got confused somehow...

 

Now when I load up Pydio, it wants to update.  Is that something we should do, or should updates ONLY come through CA?

 

width=300http://my.jetscreenshot.com/12412/20160725-ifpf-181kb.jpg[/img]

Link to comment
  • 2 weeks later...
  • 2 weeks later...

Hi All,

 

I just got Pydio up and running on my LAN. I also just set up a reverse proxy using Apache with SSL for all of my apps and it is working for couchpotato and sickrage. I really do not know much Apache beyond the tutorials I followed.

 

I cannot get Pydio to work with my reverse proxy so when I go to mydomain.com/pydio I get a 400 error (sent http request to https port)

Here is my apache config for Pydio

 

<Location /pydio>
ProxyPass http://192.168.0.4:44334/pydio
ProxyPassReverse http://192.168.0.4:44334/pydio
AuthUserFile /config/.htpasswd
AuthType Basic
AuthName "you should not be here"
Require valid-user
</Location>

 

I essentially copied the format from couchpotato and sickrage (even though you can change the base url with them). You can also see that I have Pydio running on the host port of 44334.

 

I also have a http to https redirect going on

ServerName http://mydomain.com
Redirect / https://mydomain.com/

 

I am assuming I need to rewrite the Apache stuff but I have no idea how to and I do not know what to google.

 

I would also like to add plexpy, plex requests, and a few other apps, but they also are not working with the format I have above and I am not sure what to do.

Link to comment

Does anything special need to be done to Pydio to get it to work behind an Apache reverse proxy?

 

Hi All,

 

I just got Pydio up and running on my LAN. I also just set up a reverse proxy using Apache with SSL for all of my apps and it is working for couchpotato and sickrage. I really do not know much Apache beyond the tutorials I followed.

 

I cannot get Pydio to work with my reverse proxy so when I go to mydomain.com/pydio I get a 400 error (sent http request to https port)

Here is my apache config for Pydio

 

OK, here's how to reverse proxy pydio with our Apache container....

 

1.  Edit appdata/pydio/nginx/site-confs/default

 

On line 3 change

root /config/www/pydio;

to

root /config/www;

 

2.  Edit appdata/apache/apache/site-confs/default.conf changing UNRAID-IP & HOST-PORT to match your configuration.

 

	RewriteRule ^/pydio$ /pydio/ [R]
<Location /pydio>
	ProxyPass https://UNRAID-IP:HOST-PORT/pydio/
	ProxyPassReverse https://UNRAID-IP:HOST-PORT/pydio/
</Location>

 

3.  Restart both containers.

 

EDIT: To preserve the api function and ability to use sync clients.  See here.

Link to comment

Hi CHBMB. Thank you for the quick help!

 

You are talking about this Apache thread correct? http://lime-technology.com/forum/index.php?topic=38875.15

 

After following your suggestions, I am now getting a "500 Internal Server Error" :/  I can confirm that the rewrite line is working.

 

Here is what I have

RewriteEngine On
RewriteRule ^/pydio$ /pydio/ [R]
<Location /pydio>
ProxyPass https://192.168.0.4:44334/pydio
ProxyPassReverse https://192.168.0.4:44334/pydio
AuthUserFile /config/.htpasswd
AuthType Basic
AuthName "you should not be here"
Require valid-user
</Location>

 

Not to sure how to QA this problem.

Link to comment

Hi CHBMB. Thank you for the quick help!

 

You are talking about this Apache thread correct? http://lime-technology.com/forum/index.php?topic=38875.15

 

After following your suggestions, I am now getting a "500 Internal Server Error" :/  I can confirm that the rewrite line is working.

 

Here is what I have

RewriteEngine On
RewriteRule ^/pydio$ /pydio/ [R]
<Location /pydio>
ProxyPass https://192.168.0.4:44334/pydio
ProxyPassReverse https://192.168.0.4:44334/pydio
AuthUserFile /config/.htpasswd
AuthType Basic
AuthName "you should not be here"
Require valid-user
</Location>

 

Not to sure how to QA this problem.

 

Remove these lines....

 

AuthUserFile /config/.htpasswd
AuthType Basic
AuthName "you should not be here"
Require valid-user

 

pydio has it's own login, so it's just duplicating stuff and probably screwing it up too.  Incidentally here's how to configure Apache to get an A+ on security tests and redirect all http traffic to https that works well and definitely works with the config I posted above.

Link to comment

 

pydio has it's own login, so it's just duplicating stuff and probably screwing it up too.  Incidentally here's how to configure Apache to get an A+ on security tests and redirect all http traffic to https that works well and definitely works with the config I posted above.

 

I removed the Auth lines and it still wasnt working. I then copied your apache config file and it works perfectly :) thanks! Your help is greatly appreciated!

Link to comment

Does anything special need to be done to Pydio to get it to work behind an Apache reverse proxy?

 

Hi All,

 

I just got Pydio up and running on my LAN. I also just set up a reverse proxy using Apache with SSL for all of my apps and it is working for couchpotato and sickrage. I really do not know much Apache beyond the tutorials I followed.

 

I cannot get Pydio to work with my reverse proxy so when I go to mydomain.com/pydio I get a 400 error (sent http request to https port)

Here is my apache config for Pydio

 

OK, here's how to reverse proxy pydio with our Apache container....

 

1.  Edit appdata/pydio/nginx/site-confs/default

 

On line 3 change

root /config/www/pydio;

to

root /config/www;

 

2.  Edit appdata/apache/apache/site-confs/default.conf changing UNRAID-IP & HOST-PORT to match your configuration.

 

	RewriteRule ^/pydio$ /pydio/ [R]
<Location /pydio>
	ProxyPass https://UNRAID-IP:HOST-PORT/pydio/
	ProxyPassReverse https://UNRAID-IP:HOST-PORT/pydio/
</Location>

 

3.  Restart both containers.

 

So, I got the Pydio Webgui working through my apache reverse proxy! However, I am now trying to get Pydio Sync to work (on my mac) and it is obviously not working. I think it is because of the following.

root /config/www/pydio;

to

root /config/www;

But keep reading.

 

I am using Pydios quickstart guide, but I dont understand how to follow them in relation to my setup. https://pydio.com/en/docs/v6/checking-apis

 

Specifically,

a2enmod rewrite
AllowOverride All

 

Where does that code need to be implemented???? Pydio nginx? or my apache reverse proxy?

 

Anyway, my .htaccess rules seem to be correct and I updated my RewriteBase line to reflect my mydomain.com/pydio reverse proxy setup.

 

However, my setup still fails the simple rewrite check. "The basic check is to enter a workspace (e.g. https://domain.tld/pydio/ws-workspace-slug) and simply reload the page."

 

So i deleted everything and started from scratch. In the config wizard I specified /pydio as my installation directory (which rewrites the .htaccess file) and everything was working fine on my internal IP address. It was passing the rewrite test.

 

However, I then edited the nginx default config so that would work with my reverse proxy

root /config/www/pydio;

to

root /config/www;

and it no longer passed the rewrite test, however it did start working with my reverse proxy.

 

So I am now stuck with something that either works with my reverse proxy and does not pass the rewrite test (and thus Sync does not work) or vice versa. Essentially I need help to make it work with the reverse proxy while not ruining all the rewrite rules that pydio has.

 

Help :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.