Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 16-07-2020 15:18:41

Minus
Membre
Inscription : 29-01-2016

Probleme installation CollaboraOnline dans Nextcloud18 - Debian 10

Bonjour

J'ai un soucis d'installation/configuration de collaboraonline dans nextcloud18 sur un de mes serveurs tournant sous Debian 10.

J'ai suivi le tuto suivant: https://debian-facile.org/utilisateurs: … cloud-v.17

Seulement, dans nextcloud, dés que je veux éditer un document, j'ai le message: Echec de chargement de collabora online developpement edition: veuillez reesayer plus tard.

si je vais sur l'url: https://collabora.domaine.com:9980/lole … admin.html

J'arrive bien dans l'interface admin de collabora

si je vais sur l'url: https://collabora.domaine.com:9980

J'arrive sur une page vierge avec juste ok de écrit dedans

Voila mes fichiers de conf:

cat /etc/loolwsd/loolwsd.xml
<config>
        <!-- Note: 'default' attributes are used to document a setting's default value as well as to use as fallback. -->
        <!-- Note: When adding a new entry, a default must be set in WSD in case the entry is missing upon deployment. -->
        <allowed_languages default="de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru" desc="List of supported languages of Writing Aids (spell checker, grammar checker, thesaurus, hyphenation) on this instance. Allowing too many has negative effect on startup performance.">de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru</allowed_languages>
        <sys_template_path default="systemplate" desc="Path to a template tree with shared libraries etc to be used as source for chroot jails for child processes." relative="true" type="path"/>
        <child_root_path default="jails" desc="Path to the directory under which the chroot jails for the child processes will be created. Should be on the same file system as systemplate and lotemplate. Must be an empty directory." relative="true" type="path"/>
        <server_name default="" desc="External hostname:port of the server running loolwsd. If empty, it's derived from the request (please set it if this doesn't work). Must be specified when behind a reverse-proxy or when the hostname is not reachable directly." type="string"/>
        <file_server_root_path default="loleaflet/../" desc="Path to the directory that should be considered root for the file server. This should be the directory containing loleaflet." relative="true" type="path"/>
        <memproportion default="80.0" desc="The maximum percentage of system memory consumed by all of the Collabora Online Development Edition, after which we start cleaning up idle documents" type="double"/>
        <num_prespawn_children default="1" desc="Number of child processes to keep started in advance and waiting for new clients." type="uint">1</num_prespawn_children>
        <per_document desc="Document-specific settings, including LO Core settings.">
                <max_concurrency default="4" desc="The maximum number of threads to use while processing a document." type="uint">4</max_concurrency>
                <document_signing_url default="https://app.vereign.com" desc="The endpoint URL of signing server, if empty the document signing is disabled" type="string">https://app.vereign.com</document_signing_url>
                <redlining_as_comments default="false" desc="If true show red-lines as comments" type="bool">false</redlining_as_comments>
                <idle_timeout_secs default="3600" desc="The maximum number of seconds before unloading an idle document. Defaults to 1 hour." type="uint">3600</idle_timeout_secs>
                <!-- Idle save and auto save are checked every 30 seconds -->
                <!-- They are disabled when the value is zero or negative. -->
                <idlesave_duration_secs default="30" desc="The number of idle seconds after which document, if modified, should be saved. Defaults to 30 seconds." type="int">30</idlesave_duration_secs>
                <autosave_duration_secs default="300" desc="The number of seconds after which document, if modified, should be saved. Defaults to 5 minutes." type="int">300</autosave_duration_secs>
                <always_save_on_exit default="false" desc="On exiting the last editor, always perform the save, even if the document is not modified." type="bool">false</always_save_on_exit>
                <limit_virt_mem_mb desc="The maximum virtual memory allowed to each document process. 0 for unlimited." type="uint">0</limit_virt_mem_mb>
                <limit_stack_mem_kb desc="The maximum stack size allowed to each document process. 0 for unlimited." type="uint">8000</limit_stack_mem_kb>
                <limit_file_size_mb desc="The maximum file size allowed to each document process to write. 0 for unlimited." type="uint">0</limit_file_size_mb>
                <limit_num_open_files desc="The maximum number of files allowed to each document process to open. 0 for unlimited." type="uint">0</limit_num_open_files>
                <limit_load_secs default="100" desc="Maximum number of seconds to wait for a document load to succeed. 0 for unlimited." type="uint">100</limit_load_secs>
                <limit_convert_secs default="100" desc="Maximum number of seconds to wait for a document conversion to succeed. 0 for unlimited." type="uint">100</limit_convert_secs>
        </per_document>
        <per_view desc="View-specific settings.">
                <out_of_focus_timeout_secs default="120" desc="The maximum number of seconds before dimming and stopping updates when the browser tab is no longer in focus. Defaults to 120 seconds." type="uint">120</out_of_focus_timeout_secs>
                <idle_timeout_secs default="900" desc="The maximum number of seconds before dimming and stopping updates when the user is no longer active (even if the browser is in focus). Defaults to 15 minutes." type="uint">900</idle_timeout_secs>
        </per_view>
        <loleaflet_html default="loleaflet.html" desc="Allows UI customization by replacing the single endpoint of loleaflet.html" type="string">loleaflet.html</loleaflet_html>
        <logging>
                <color type="bool">true</color>
                <level default="warning" desc="Can be 0-8, or none (turns off logging), fatal, critical, error, warning, notice, information, debug, trace" type="string">warning</level>
                <protocol descr="Enable minimal client-site JS protocol logging from the start" type="bool">false</protocol>
                <file enable="false">
                        <property desc="Log file path." name="path">/var/log/loolwsd.log</property>
                        <property desc="Log file rotation strategy. See Poco FileChannel." name="rotation">never</property>
                        <property desc="Append either timestamp or number to the archived log filename." name="archive">timestamp</property>
                        <property desc="Enable/disable log file compression." name="compress">true</property>
                        <property desc="The maximum age of log files to preserve. See Poco FileChannel." name="purgeAge">10 days</property>
                        <property desc="The maximum number of log archives to preserve. Use 'none' to disable purging. See Poco FileChannel." name="purgeCount">10</property>
                        <property desc="Enable/disable log file rotation on opening." name="rotateOnOpen">true</property>
                        <property desc="Enable/disable flushing after logging each line. May harm performance. Note that without flushing after each line, the log lines from the different processes will not appear in chronological order." name="flush">false</property>
                </file>
                <anonymize>
                        <anonymize_user_data default="false" desc="Enable to anonymize/obfuscate of user-data in logs. If default is true, it was forced at compile-time and cannot be disabled." type="bool">false</anonymize_user_data>
                        <anonymization_salt default="82589933" desc="The salt used to anonymize/obfuscate user-data in logs. Use a secret 64-bit random number." type="uint">82589933</anonymization_salt>
                </anonymize>
        </logging>
        <loleaflet_logging default="false" desc="Logging in the browser console">false</loleaflet_logging>
        <trace desc="Dump commands and notifications for replay. When 'snapshot' is true, the source file is copied to the path first." enable="false">
                <path compress="true" desc="Output path to hold trace file and docs. Use '%' for timestamp to avoid overwriting. For example: /some/path/to/looltrace-%.gz" snapshot="false"/>
                <filter>
                        <message desc="Regex pattern of messages to exclude"/>
                </filter>
                <outgoing>
                        <record default="false" desc="Whether or not to record outgoing messages">false</record>
                </outgoing>
        </trace>
        <net desc="Network settings">
                <!-- On systems where localhost resolves to IPv6 [::1] address first, when net.proto is all and net.listen is loopback, loolwsd unexpectedly listens on [::1] only.
           You need to change net.proto to IPv4, if you want to use 127.0.0.1. -->
                <proto default="all" desc="Protocol to use IPv4, IPv6 or all for both" type="string">all</proto>
                <listen default="any" desc="Listen address that loolwsd binds to. Can be 'any' or 'loopback'." type="string">any</listen>
                <service_root default="" desc="Prefix all the pages, websockets, etc. with this path." type="path"/>
                <post_allow allow="true" desc="Allow/deny client IP address for POST(REST).">
                        <host desc="The IPv4 private 192.168 block as plain IPv4 dotted decimal addresses.">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host desc="Ditto, but as IPv4-mapped IPv6 addresses">::ffff:192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host desc="The IPv4 loopback (localhost) address.">127\.0\.0\.1</host>
                        <host desc="Ditto, but as IPv4-mapped IPv6 address">::ffff:127\.0\.0\.1</host>
                        <host desc="The IPv6 loopback (localhost) address.">::1</host>
                        <host desc="The IPv4 private 172.17.0.0/16 subnet (Docker).">172\.17\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host desc="Ditto, but as IPv4-mapped IPv6 addresses">::ffff:172\.17\.[0-9]{1,3}\.[0-9]{1,3}</host>
                </post_allow>
                <frame_ancestors desc="Specify who is allowed to embed the LO Online iframe (loolwsd and WOPI host are always allowed). Separate multiple hosts by space."/>
        </net>
        <ssl desc="SSL settings">
                <enable default="true" desc="Controls whether SSL encryption between browser and loolwsd is enabled (do not disable for production deployment). If default is false, must first be compiled with SSL support to enable." type="bool">true</enable>
                <termination default="true" desc="Connection via proxy where loolwsd acts as working via https, but actually uses http." type="bool">false</termination>
                <cert_file_path desc="Path to the cert file" relative="false">/etc/loolwsd/SSL/cert.pem</cert_file_path>
                <key_file_path desc="Path to the key file" relative="false">/etc/loolwsd/SSL/key.pem</key_file_path>
                <ca_file_path desc="Path to the ca file" relative="false">/etc/loolwsd/SSL/ca-chain.cert.pem</ca_file_path>
                <cipher_list default="ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH" desc="List of OpenSSL ciphers to accept"/>
                <hpkp desc="Enable HTTP Public key pinning" enable="false" report_only="false">
                        <max_age desc="HPKP's max-age directive - time in seconds browser should remember the pins" enable="true">1000</max_age>
                        <report_uri desc="HPKP's report-uri directive - pin validation failure are reported at this URL" enable="false"/>
                        <pins desc="Base64 encoded SPKI fingerprints of keys to be pinned">
                                <pin/>
                        </pins>
                </hpkp>
        </ssl>
        <security desc="Altering these defaults potentially opens you to significant risk">
                <seccomp default="true" desc="Should we use the seccomp system call filtering." type="bool">false</seccomp>
                <capabilities default="true" desc="Should we require capabilities to isolate processes into chroot jails" type="bool">true</capabilities>
        </security>
        <watermark>
                <opacity default="0.2" desc="Opacity of on-screen watermark from 0.0 to 1.0" type="double"/>
                <text desc="Watermark text to be displayed on the document if entered" type="string"/>
        </watermark>
        <storage desc="Backend storage">
                <filesystem allow="false"/>
                <wopi allow="true" desc="Allow/deny wopi storage. Mutually exclusive with webdav.">
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">127\.0\.0\.1</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">172\.16\.0\.116</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">cloud.domaine.com</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host allow="true" desc="Regex pattern of hostname to allow or deny.">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
                        <host allow="false" desc="Regex pattern of hostname to allow or deny.">192\.168\.1\.1</host>
                        <max_file_size desc="Maximum document size in bytes to load. 0 for unlimited." type="uint">0</max_file_size>
                        <reuse_cookies default="false" desc="When enabled, cookies from the browser will be captured and set on WOPI requests." type="bool">false</reuse_cookies>
                        <locking desc="Locking settings">
                                <refresh default="900" desc="How frequently we should re-acquire a lock with the storage server, in seconds (default 15 mins) or 0 for no refresh" type="int">900</refresh>
                        </locking>
                </wopi>
                <webdav allow="false" desc="Allow/deny webdav storage. Mutually exclusive with wopi.">
                        <host allow="false" desc="Hostname to allow">localhost</host>
                </webdav>
                <ssl desc="SSL settings">
                        <enable desc="Controls whether SSL encryption between storage and loolwsd is enabled. Defaults when empty to following the ssl.enable setting" type="bool"/>
                        <cert_file_path desc="Path to the cert file" relative="false"/>
                        <key_file_path desc="Path to the key file" relative="false"/>
                        <ca_file_path desc="Path to the ca file" relative="false"/>
                        <cipher_list desc="List of OpenSSL ciphers to accept. If empty the defaults are used. These can be overriden only if absolutely needed."/>
                </ssl>
        </storage>
        <tile_cache_persistent default="true" desc="Should the tiles persist between two editing sessions of the given document?" type="bool">true</tile_cache_persistent>
        <admin_console desc="Web admin console settings.">
                <enable default="true" desc="Enable the admin console functionality" type="bool">true</enable>
                <enable_pam default="false" desc="Enable admin user authentication with PAM" type="bool">false</enable_pam>
                <username desc="The username of the admin console. Ignored if PAM is enabled.">admincoll</username>
                <password desc="The password of the admin console. Deprecated on most platforms. Instead, use PAM or loolconfig to set up a secure password.">Axxxxm</password>
        </admin_console>
        <monitors desc="Addresses of servers we connect to on start for monitoring"/>
</config>



Mes certificats SSL sont dans /etc/loolwsd/SSL/

voila la config coté apache2

cat /etc/apache2/sites-available/collabora.conf
<VirtualHost *:443>
ServerName collabora.domaine.com:443

ErrorLog /var/log/Collaboraonline/error.log

# SSL configuration, you may want to take the easy route instead and use Lets Encrypt!
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/collabora.domaine.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/collabora.domaine.com/privkey.pem
#SSLCertificateFile /path/to/signed_certificate
#SSLCertificateChainFile /path/to/intermediate_certificate
#SSLCertificateKeyFile /path/to/private/key
SSLProtocol             all -SSLv2 -SSLv3
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
SSLHonorCipherOrder     on

# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode

# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

# keep the host
ProxyPreserveHost On

# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass           /loleaflet https://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse    /loleaflet https://127.0.0.1:9980/loleaflet

# WOPI discovery URL
ProxyPass           /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery https://127.0.0.1:9980/hosting/discovery

# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon

# Admin Console websocket
ProxyPass   /lool/adminws wss://127.0.0.1:9980/lool/adminws

# Download as, Fullscreen presentation and Image upload operations
ProxyPass           /lool https://127.0.0.1:9980/lool
ProxyPassReverse    /lool https://127.0.0.1:9980/lool

# Endpoint with information about availability of various features
ProxyPass           /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0
ProxyPassReverse    /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities
</VirtualHost>



et enfin le petit script qui permet de copier comme il faut le certificat let'sencrypt dans loolwsd

cat collabora_certs.sh
#!/bin/bash
cp /etc/letsencrypt/live/collabora.domaine.com/cert.pem /etc/loolwsd/SSL/cert.pem
cp /etc/letsencrypt/live/collabora.domaine.com/privkey.pem  /etc/loolwsd/SSL/key.pem
cp /etc/letsencrypt/live/collabora.domaine.com/chain.pem /etc/loolwsd/SSL/ca-chain.cert.pem
chown lool /etc/loolwsd/SSL/cert.pem
chown lool /etc/loolwsd/SSL/key.pem
chown lool /etc/loolwsd/SSL/ca-chain.cert.pem
systemctl restart loolwsd.service
exit 0



Bref je ne comprend pas où est le soucis

les seules infos que j'ai pu récuperer c'est du coté des logs nextcloud quand on essaye d'ouvrir un document dans nextcloud avec collabora mais ils ne sont pas trés parlant je trouve

{"reqId":"oeJfRszmdrlgJWVwBhlM","level":3,"time":"2020-07-15T09:44:37+02:00","remoteAddr":"172.16.0.164","user":"cloudusertest","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/index?fileId=149897&requesttoken=ga9N1MNmC%2BDUKuMmx4xyKSMFBLWMAg5h9khsuxrY%2FH0%3D%3A8sUspfcXWdGAQo93hrsYUFNBYNbidXYvonocz1OLhQg%3D","message":{"Exception":"Doctrine\\DBAL\\Exception\\InvalidFieldNameException","Message":"An exception occurred while executing 'INSERT INTO `oc_richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [149897, \"cloudusertest\", \"cloudusertest\", 0, true, \"https:\\/\\/cloud.domain.com\\/\", \"2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv\", 1594800877, 0, false, false, false, 0]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'hide_download' in 'field list'","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php","line":169,"function":"convertException","class":"Doctrine\\DBAL\\Driver\\AbstractMySQLDriver","type":"->","args":["An exception occurred while executing 'INSERT INTO `oc_richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [149897, \"cloudusertest\", \"cloudusertest\", 0, true, \"https:\\/\\/cloud.domain.com\\/\", \"2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv\", 1594800877, 0, false, false, false, 0]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'hide_download' in 'field list'",{"errorInfo":["42S22",1054,"Unknown column 'hide_download' in 'field list'"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"}]},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php","line":145,"function":"wrapException","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["42S22",1054,"Unknown column 'hide_download' in 'field list'"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"An exception occurred while executing 'INSERT INTO `oc_richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)' with params [149897, \"cloudusertest\", \"cloudusertest\", 0, true, \"https:\\/\\/cloud.domain.com\\/\", \"2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv\", 1594800877, 0, false, false, false, 0]:\n\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'hide_download' in 'field list'"]},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php","line":162,"function":"driverExceptionDuringQuery","class":"Doctrine\\DBAL\\DBALException","type":"::","args":[{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"errorInfo":["42S22",1054,"Unknown column 'hide_download' in 'field list'"],"__class__":"Doctrine\\DBAL\\Driver\\PDOException"},"INSERT INTO `oc_richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)",{"1":149897,"2":"cloudusertest","3":"cloudusertest","4":0,"5":true,"6":"https://cloud.domain.com/","7":"2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv","8":1594800877,"9":0,"10":false,"11":false,"12":false,"13":0}]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Db/Mapper.php","line":255,"function":"execute","class":"Doctrine\\DBAL\\Statement","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Db/Mapper.php","line":129,"function":"execute","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":["INSERT INTO `*PREFIX*richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)",[149897,"cloudusertest","cloudusertest",0,true,"https://cloud.domain.com/","2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv",1594800877,0,false,false,false,0]]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/Db/WopiMapper.php","line":89,"function":"insert","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":[{"id":null,"__class__":"OCA\\Richdocuments\\Db\\Wopi"}]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/TokenManager.php","line":205,"function":"generateFileToken","class":"OCA\\Richdocuments\\Db\\WopiMapper","type":"->","args":["*** sensitive parameter replaced ***","cloudusertest","cloudusertest","0",1,"https://cloud.domain.com/",null,0,false,false,false,0,null]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php","line":245,"function":"getToken","class":"OCA\\Richdocuments\\TokenManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Richdocuments\\Controller\\DocumentController","type":"->","args":["*** sensitive parameter replaced ***",null]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\DocumentController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"richdocuments.document.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"richdocuments.document.index"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"richdocuments.document.index"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/index"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php","Line":60,"Previous":{"Exception":"Doctrine\\DBAL\\Driver\\PDOException","Message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'hide_download' in 'field list'","Code":"42S22","Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php","line":153,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Db/Mapper.php","line":255,"function":"execute","class":"Doctrine\\DBAL\\Statement","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Db/Mapper.php","line":129,"function":"execute","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":["INSERT INTO `*PREFIX*richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)",[149897,"cloudusertest","cloudusertest",0,true,"https://cloud.domain.com/","2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv",1594800877,0,false,false,false,0]]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/Db/WopiMapper.php","line":89,"function":"insert","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":[{"id":null,"__class__":"OCA\\Richdocuments\\Db\\Wopi"}]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/TokenManager.php","line":205,"function":"generateFileToken","class":"OCA\\Richdocuments\\Db\\WopiMapper","type":"->","args":["*** sensitive parameter replaced ***","cloudusertest","cloudusertest","0",1,"https://cloud.domain.com/",null,0,false,false,false,0,null]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php","line":245,"function":"getToken","class":"OCA\\Richdocuments\\TokenManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Richdocuments\\Controller\\DocumentController","type":"->","args":["*** sensitive parameter replaced ***",null]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\DocumentController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"richdocuments.document.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"richdocuments.document.index"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"richdocuments.document.index"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/index"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php","Line":119,"Previous":{"Exception":"PDOException","Message":"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'hide_download' in 'field list'","Code":"42S22","Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php","line":117,"function":"execute","class":"PDOStatement","type":"->","args":[null]},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php","line":153,"function":"execute","class":"Doctrine\\DBAL\\Driver\\PDOStatement","type":"->","args":[null]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Db/Mapper.php","line":255,"function":"execute","class":"Doctrine\\DBAL\\Statement","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Db/Mapper.php","line":129,"function":"execute","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":["INSERT INTO `*PREFIX*richdocuments_wopi`(`fileid`,`owner_uid`,`editor_uid`,`version`,`canwrite`,`server_host`,`token`,`expiry`,`template_destination`,`hide_download`,`direct`,`is_remote_token`,`template_id`) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?)",[149897,"cloudusertest","cloudusertest",0,true,"https://cloud.domain.com/","2dDf9Ag9cW14nTv2eoi5zfNGYkibHxKv",1594800877,0,false,false,false,0]]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/Db/WopiMapper.php","line":89,"function":"insert","class":"OCP\\AppFramework\\Db\\Mapper","type":"->","args":[{"id":null,"__class__":"OCA\\Richdocuments\\Db\\Wopi"}]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/TokenManager.php","line":205,"function":"generateFileToken","class":"OCA\\Richdocuments\\Db\\WopiMapper","type":"->","args":["*** sensitive parameter replaced ***","cloudusertest","cloudusertest","0",1,"https://cloud.domain.com/",null,0,false,false,false,0,null]},{"file":"/var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php","line":245,"function":"getToken","class":"OCA\\Richdocuments\\TokenManager","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Richdocuments\\Controller\\DocumentController","type":"->","args":["*** sensitive parameter replaced ***",null]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":99,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":125,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Richdocuments\\Controller\\DocumentController"},"index"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Richdocuments\\Controller\\DocumentController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"richdocuments.document.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"richdocuments.document.index"}]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":299,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"richdocuments.document.index"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/richdocuments/index"]},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php","Line":117}},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0","version":"18.0.6.0"}



Par avance merci pour votre aide

Hors ligne

Pied de page des forums