i am new to pydio and installed following instructions from pydio github link,when i installed all the packages after npm install and composer install i opened the pydio admin panel in chrome .i was given warniing that some packages are not installed but i ignored them and i got the error
Fatal error : Uncaught Error: Class ‘Zend\Diactoros\Response\SapiEmitter’ not found in /opt/lampp/htdocs/src/core/src/pydio/Core/Http/Middleware/SapiMiddleware.php:143 Stack trace: #0 /opt/lampp/htdocs/src/core/src/pydio/Core/Http/Server.php(255): Pydio\Core\Http\Middleware\SapiMiddleware->emitResponse(Object(Zend\Diactoros\ServerRequest), Object(Zend\Diactoros\Response)) #1 /opt/lampp/htdocs/src/core/src/pydio/Core/Http/Server.php(284): Pydio\Core\Http\Server->catchError(0, 'Class ‘Zend\Dia…’, ‘/opt/lampp/htdo…’, 143, Object(Error)) #2 [internal function]: Pydio\Core\Http\Server->catchException(Object(Error)) #3 {main} thrown in /opt/lampp/htdocs/src/core/src/pydio/Core/Http/Middleware/SapiMiddleware.php on line 143
Hi and welcome,
for an easier process i would advise you to do the followng,
https://pydio.com/en/docs/v8/install-archive
here’s the link to download the zip https://download.pydio.com/pub/core/ci/
tldr of the guide, download the pydio zip, unzip it in your /var/www
change it’s righs with:
#unzip and rename the resulting folder
tar xzf pydio-enterprise-latest.tar.gz
mv <the unzipped folder name> pydio
#move the resulting folder and set it with the right permissions
sudo cp -r pydio /var/www/
sudo chown -R www-data:www-data /var/www/pydio
sudo chmod -R 770 /var/www/pydio
then create a vhost file (here’s a basic example),
<VirtualHost *:80>
ServerAdmin webmaster@localhost
Servername your-pydio.com
ServerAlias www.your-pydio.com
DocumentRoot /var/www/pydio/
<Directory /var/www/pydio/>
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/pydio-error.log
CustomLog ${APACHE_LOG_DIR}/pydio-access.log combined
</VirtualHost>
then do not forget to enable apache a2enmod rewrite
and modify some values in the php & apache confs;
Modify this file /etc/php/7.2/apache2/php.ini, and change the following values:
output_buffering: to off, output_buffering = Off
upload_max_filesize: to for instance �upload_max_filesize = 5G
post_max_size: for instance post_max_size = 6G
memory_limit: for instance memory_limit = 7G
Open with your editor /etc/apache2/apache2.conf and modify the line 172 AllowOverride none to AllowOverride All.
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
If you need more information or if i was out of the subject do not hesitate.
Thank you , i have a question where to place the vhost file
i downloaded the file pydio-20170518-0247df0.tar.gz
then i made the changed to the config files
but when i did http://localhost/pydio1/pydio-20170518-0247df0/index.php there was result that requested url was not found
Hi,
you should download pydio-latest.tar.gz i should have mentioned that to you,
once you unzipped (tar -xzf) the archive (also do not forget to rename it and do the rights operations suggested here)
and created the vhost file in /etc/apache2/sites-available/pydio.conf
first let’s disable the default config, sudo a2dissite 000-default.conf
then you must enable the config by using this sudo a2ensite pydio.conf
after all of this restart apache2 and you should be able to access to your pydio by url http://localhost or http://ip
i followed the instructions there are two folders in pydio
pydio-20170518-2a1a77b
and pydio-20170518-0247df0
both have index.php which one to point to in localhost
You dont need to point to them as long as you have more or less the same vhost file as i showed, it will handle it.
If you unzipped the pydio-latest you should have this inside
➜ pydio-latest ll
total 112
-rw-r--r--@ 1 jay staff 1.2K Mar 12 12:13 base.conf.php
-rw-r--r--@ 1 jay staff 1.4K Mar 12 12:13 cmd.php
drwxr-xr-x@ 18 jay staff 576B Apr 9 13:02 conf
drwxr-xr-x@ 9 jay staff 288B Apr 9 13:02 core
drwxr-xr-x@ 10 jay staff 320B Apr 9 13:02 data
-rw-r--r--@ 1 jay staff 1.1K Mar 12 12:13 index.php
-rw-r--r--@ 1 jay staff 899B Mar 12 12:13 nginx.conf.sample
-rw-r--r--@ 1 jay staff 886B Mar 12 12:13 phpdoc.dist.xml
drwxr-xr-x@ 116 jay staff 3.6K Apr 9 13:02 plugins
-rw-r--r--@ 1 jay staff 1.1K Mar 12 12:13 proxy.php
-rw-r--r--@ 1 jay staff 1.4K Mar 12 12:13 publicLet.inc.php
-rw-r--r--@ 1 jay staff 25B Mar 12 12:13 robots.txt
-rw-r--r--@ 1 jay staff 9.6K Mar 12 12:13 runTests.php
-rw-r--r--@ 1 jay staff 1.3K Mar 12 12:13 web.config.sample
-rw-r--r--@ 1 jay staff 6.1K Mar 12 12:13 worker.php
Hi,
so the first, you must have apt install php-cli
,
for the second in your /etc/php/7.2/apache2/php.ini
change output_buffering = xxx
to output_buffering= off
,
the third one is about ssl, so you must set a certificate and have the trafic go through https,
and for the last one, it an environment variable you can do as the suggestion asks.
tldr: the 1st and the 2nd are going to be mandatory when you are using pydio, and the 3rd and 4th are optional.
Regards
i was asked to write the below to .htaccess file but as i have changed the user privileges i am not able to make new file in pydio
also where is the installation path of pydio
#Following lines seem to be necessary if PHP is working
#with apache as CGI or FCGI. Just remove the #
#See http://doc.tiki.org/WebDAV#Note_about_Apache_with_PHP_as_fcgi_or_cgi
#RewriteCond %{HTTP:Authorization} ^(.)
#RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
#Following lines may be necessary for a PHP-FPM setup
to make sure that authorization is transmitted.
Just remove the # at the beginning of the line
#SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
AddType application/json .json
yeah you must create it as a root user, yo can use sudo,
and then once your done with the file, do not forget to modify its user to www-data:www-data
.
But in /pydio/
there is already an .htaccess
file.
how can i customize the images in pydio for each user
In the menu people, once you have created a user you can edit him(click on the pen on the right) and then
a menu appears you must click on the empty profile image,
Thanks for guiding me,how to change the logo and background color of pydio ?
Hi,
you can find the menu (left bar when in administration interface) in Available Plugins > Graphical User Interface > Client Plugin.
I am trying to deploy the pydio software on droplets server by digital ocean
is there any additional thing to do like let’s encrypt in it?
I am getting http error 500 code
Hi,
yes if you wish to add ssl you can get a certificate with https://certbot.eff.org/
for the error 500 (it could be a configuration issue), could you show me the logs(php, apache) of the server and your configuration (vhost file).