ChesStrategy Posted June 4, 2015 Share Posted June 4, 2015 In the mySQL container; I have created a username and database. My mySQL docker is running with the following xml: .... .... </Description> <Registry>https://registry.hub.docker.com/_/mysql/</Registry> <Repository>mysql</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Environment> <Variable> <Name>MYSQL_ROOT_PASSWORD</Name> <Value>(A chosen root password)</Value> </Variable> <Variable> <Name>MYSQL_DATABASE</Name> <Value>d_mysql</Value> </Variable> <Variable> <Name>MYSQL_USER</Name> <Value>d_mysql_user</Value> </Variable> <Variable> <Name>MYSQL_PASSWORD</Name> <Value>(Some Password)</Value> </Variable> </Environment> ... ... I've also created the user d_mysql in unraid itself... When you said 'database', did you mean I needed to explicitly create a table in the database first? i'm not familiar with that container, what ip address are you using in the pydio setup interface to connect with it ? I thought it would be as simple as using localhost or 127.0.0.1 with the port number appended (3306); since both docker images are running on the unraid server. Quote Link to comment
sparklyballs Posted June 4, 2015 Author Share Posted June 4, 2015 In the mySQL container; I have created a username and database. My mySQL docker is running with the following xml: .... .... </Description> <Registry>https://registry.hub.docker.com/_/mysql/</Registry> <Repository>mysql</Repository> <BindTime>true</BindTime> <Privileged>false</Privileged> <Environment> <Variable> <Name>MYSQL_ROOT_PASSWORD</Name> <Value>(A chosen root password)</Value> </Variable> <Variable> <Name>MYSQL_DATABASE</Name> <Value>d_mysql</Value> </Variable> <Variable> <Name>MYSQL_USER</Name> <Value>d_mysql_user</Value> </Variable> <Variable> <Name>MYSQL_PASSWORD</Name> <Value>(Some Password)</Value> </Variable> </Environment> ... ... I've also created the user d_mysql in unraid itself... When you said 'database', did you mean I needed to explicitly create a table in the database first? i'm not familiar with that container, what ip address are you using in the pydio setup interface to connect with it ? I thought it would be as simple as using localhost or 127.0.0.1 with the port number appended (3306); since both docker images are running on the unraid server. nope, you have to use the unraid server's IP. localhost to a container is anything within that SPECIFIC container only. Quote Link to comment
ChesStrategy Posted June 4, 2015 Share Posted June 4, 2015 The LAN IP should be ok right? We don't need to port forward and use the WAN IP (or what the Inet sees from the router, correct?) If so; I'm getting this error. It is strange because I can connect to the DB with the same credentials via my Windows PC with MySQL Workbench. Not sure where Pydio is getting that IP from though (see attachment): Quote Link to comment
ChesStrategy Posted June 4, 2015 Share Posted June 4, 2015 Also if it helps; this is what I found on official mysql site; they are the ones providing this official mysql docker image: Source (https://registry.hub.docker.com/_/mysql/) Connect to MySQL from an application in another Docker container This image exposes the standard MySQL port (3306), so container linking makes the MySQL instance available to other application containers. Start your application container like this in order to link it to the MySQL container: docker run --name some-app --link some-mysql:mysql -d app-that-uses-mysql Quote Link to comment
sparklyballs Posted June 4, 2015 Author Share Posted June 4, 2015 i don't have any experience with that container, i don't know whether that's an admin account. i tested the mysql connection with the mariadb container, i created a user called pydio and a database of the same name with full privileges to it. Quote Link to comment
sparklyballs Posted June 4, 2015 Author Share Posted June 4, 2015 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> CREATE USER 'pydio' IDENTIFIED BY 'pydio'; Query OK, 0 rows affected (0.01 sec) MariaDB [(none)]> create database pydio; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> GRANT ALL ON *.* TO 'pydio'; Query OK, 0 rows affected (0.00 sec) Quote Link to comment
ChesStrategy Posted June 4, 2015 Share Posted June 4, 2015 Ok; I think I know what I did wrong... Thanks for the help! Quote Link to comment
ChesStrategy Posted June 4, 2015 Share Posted June 4, 2015 Has anyone here been able to get pydio-sync to work? Just wondering. Quote Link to comment
CHBMB Posted June 4, 2015 Share Posted June 4, 2015 Has anyone here been able to get pydio-sync to work? Just wondering. Sorry, I ended up going with Owncloud for my cloud. Quote Link to comment
ghiglie Posted September 2, 2015 Share Posted September 2, 2015 Hi there! May I ask for an update? Pydio is at version 6.0.8 now. Quote Link to comment
EvilSpice Posted December 27, 2015 Share Posted December 27, 2015 i have this installed and working great, and i access it from the web and the mobile app with no problems. However, i can't seem to perform actions of my files and folders if they were created by another docker, for example - stuff downloaded by Transmission and placed in the Downloads/Complete folder. If i create a folder manually from a windows share i am able to do everything to it, but folders created by Transmission have the move/rename/delete buttons grayed out. I never played with permissions on my server, and all my dockers are installed using the default settings. Any suggestions? Thanks Quote Link to comment
publicENEMY Posted November 10, 2016 Share Posted November 10, 2016 What should I put in the Detected Server Path? Default value is / Quote Link to comment
Recommended Posts
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.