<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
Dear package maintainers: <BR>
I just filed following issue to owncloud but I think it is more a debian packaging problem:<BR>
(<A HREF="https://github.com/owncloud/core/issues/12355">see</A> <A HREF="https://github.com/owncloud/core/issues/12355)">https://github.com/owncloud/core/issues/12355)</A><BR>
<BR>
Best regards,<BR>
Frank<BR>
<BR>
<B>PROBLEM:</B>
Unable to activate Dropbox external storage. Always error message <B>"Fetching request tokens failed. Verify that your Dropbox app key and secret are correct."</B><BR>
App code and secret correct and verified. CA certs are valid and up-to-date.<BR>
<BR>
<H3>
<B><FONT SIZE="4">Solution:</FONT></B>
</H3>
remove debian package php-dropbox and install files and folders <BR>
(/usr/share/owncloud/) apps/files_external/3rdparty/Dropbox <BR>
from git instead. <BR>
Modify apps/files_external/lib/dropbox.php and external/ajax/dropbox.php to contain <BR>
require_once __DIR__.'/../3rdparty/Dropbox/autoload.php';<BR>
instead of the relative path. (This is a relevant difference between debian package and git)<BR>
<BR>
<BR>
<H3>
<B><FONT SIZE="4">Steps to reproduce</FONT></B>
</H3>
<OL TYPE=1>
    <LI TYPE=1 VALUE=1>debian system (sid)
    <LI TYPE=1 VALUE=2>install apache, php, (and minimum additional: php-dropbox )
    <LI TYPE=1 VALUE=3>install owncloud 7 
    <LI TYPE=1 VALUE=4>follow steps to activate a Dropbox external 
</OL>
<H3>
<B><FONT SIZE="4">Expected behaviour</FONT></B>
</H3>
external_files Dropbox should work<BR>
<BR>
<BR>
<H3>
<B><FONT SIZE="4">Actual behaviour</FONT></B>
</H3>
It is not possible to activate a Dropbox synchronization<BR>
<BR>
<BR>
<H3>
<B><FONT SIZE="4">Server configuration</FONT></B>
</H3>
<B>Operating system</B>: Linux Debian (tested on sid)<BR>
<BR>
<B>Web server:</B> apache 2.4.10, php5.6.3<BR>
<BR>
<B>Database:</B> mysql -5.5<BR>
<BR>
<B>PHP version:</B> php5.6.3<BR>
packages: (php5-oauth php-dropbox)<BR>
<BR>
<B>ownCloud version:</B> 7.x (any of them until 7.03)<BR>
<BR>
<B>Updated from an older ownCloud or fresh install:</B> updated via package manager of debian <BR>
<BR>
<B>List of activated apps:</B><BR>
external storage<BR>
<BR>
<B>The content of config/config.php:</B><BR>
<BR>
<PRE>
<TT>$CONFIG = array (</TT>
<TT>  'instanceid' => '52667b4537971',</TT>
<TT>  'passwordsalt' => 'xx',</TT>
<TT>  'datadirectory' => '/usr/share/owncloud/data',</TT>
<TT>  'dbtype' => 'mysql',</TT>
<TT>  'version' => '7.0.3.4',</TT>
<TT>  'appstoreenabled' => false,</TT>
<TT>  'apps_paths' =></TT>
<TT>  array (</TT>
<TT>    0 =></TT>
<TT>    array (</TT>
<TT>      'path' => '/usr/share/owncloud/apps',</TT>
<TT>      'url' => '/apps',</TT>
<TT>      'writable' => false,</TT>
<TT>    ),</TT>
<TT>  ),</TT>
<TT>  'dbname' => 'owncloud',</TT>
<TT>  'dbhost' => '127.0.0.1',</TT>
<TT>  'dbtableprefix' => 'oc_',</TT>
<TT>  'dbuser' => 'owncloud',</TT>
<TT>  'dbpassword' => 'xx',</TT>
<TT>  'installed' => true,</TT>
<TT>  'forcessl' => true,</TT>
<TT>  'ldapIgnoreNamingRules' => false,</TT>
<TT>  'theme' => '',</TT>
<TT>  'maintenance' => false,</TT>
<TT>  'has_internet_connection' => true,</TT>
<TT>  'overwritewebroot' => '/owncloud',</TT>
<TT>  'trusted_domains' =></TT>
<TT>  array (</TT>
<TT>    0 => 'test.domain.de',</TT>
<TT>  ),</TT>
<TT>  'loglevel' => '2',</TT>
<TT>  'share_folder' => '/Shared',</TT>
<TT>)</TT>
</PRE>
<BR>
<B>Are you using external storage, if yes which one:</B> dropbox sftp<BR>
<BR>
<B>Are you using encryption:</B> no<BR>
<BR>
<BR>
<H3>
<B><FONT SIZE="4">Client configuration</FONT></B>
</H3>
<B>Browser:</B> firefox 31<BR>
<BR>
<B>Operating system:</B> linux <BR>
<BR>
<BR>
<H3>
<B><FONT SIZE="4">Logs</FONT></B>
</H3>
<H4>
<B>Web server error log</B>
</H4>
<PRE>
<TT>no relevant entries</TT>
</PRE>
<H4>
<B>ownCloud log (data/owncloud.log)</B>
</H4>
<PRE>
<TT>nothing relevant to this problem:</TT>
<TT>{"app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set '</TT>
<TT>always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2014-11-21T07:31:59+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T07:41:59+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T07:47:53+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T07:47:54+00:00"}</TT>
<TT>{"app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set '</TT>
<TT>always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2014-11-21T07:47:54+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T07:47:54+00:00"}</TT>
<TT>{"app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set '</TT>
<TT>always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2014-11-21T07:47:54+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T07:47:55+00:00"}</TT>
<TT>{"app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set '</TT>
<TT>always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2014-11-21T07:47:55+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T08:05:27+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T08:05:28+00:00"}</TT>
<TT>{"app":"PHP","message":"Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set '</TT>
<TT>always_populate_raw_post_data' to '-1' in php.ini and use the php:\/\/input stream instead. at Unknown#0","level":3,"time":"2014-11-21T08:05:28+00:00"}</TT>
<TT>{"app":"core","message":"Login failed: 'cdef9bbc-f432-1031-884f-39f7c9039ff7' (Remote IP: '134.169.203.17', X-Forwarded-For: '')","level":2,"time":"201</TT>
<TT>4-11-21T08:05:28+00:00"}</TT>
</PRE>
<H4>
<B>Browser log</B>
</H4>
<PRE>
<TT>nothing relevant to this problem</TT>

</PRE>
<BLOCKQUOTE>
<PRE>


</PRE>
</BLOCKQUOTE>
<BLOCKQUOTE>
    <A HREF="https://github.com/LukasReschke"><IMG SRC="https://avatars3.githubusercontent.com/u/878997?v=3&s=96" WIDTH="48" HEIGHT="48" ALIGN="bottom" ALT="Lukas Reschke"></A>
</BLOCKQUOTE>
<BLOCKQUOTE>
    Collaborator 
</BLOCKQUOTE>
<BLOCKQUOTE>
    <B><A HREF="https://github.com/LukasReschke">LukasReschke</A> </B>commented <A HREF="https://github.com/owncloud/core/issues/12355#issuecomment-63964030">an hour ago</A><A HREF="https://github.com/owncloud/core/issues/12355#issuecomment-63964030"> </A>
</BLOCKQUOTE>
<BLOCKQUOTE>
    As far I can see you're using packages by the Debian maintainers. Those are unsupported by us, if you cannot experience this bug with the official packages available via <A HREF="http://owncloud.org/install/#instructions-packages">http://owncloud.org/install/#instructions-packages</A> I'm going to close this issue and ask you to get touch with the Debian maintainers.<BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
------------------------------------------------------------------------
Frank Rust                          Institut für Theoretische Informatik
Fon: 0531 3919525                    Technische Universität Braunschweig
Fax: 0531 3919529                              Mühlenpfordtstrasse 22-23
Mail: f.rust@tu-braunschweig.de                     D-38106 Braunschweig
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>