- Mitglied seit
- 17 Apr 2015
- Beiträge
- 3
- Punkte für Reaktionen
- 0
- Punkte
- 1
Hallo,
ich habe folgendes Problem:
trotz stundenlangem probieren komme ich hier nicht mehr weiter
Download der Adressen funktioniert problemlos.
Probleme mit dem Speicherzugriff auf der FritzBox 7590 habe ich auch schon gelöst.
Nun hänge ich hier mit Invalid Credentials beim hochladen auf die FritzBox.
Ich benutze php7.2 auf einem ubuntu 19.04 server mit nextcloud und dem aktuellen carddav aus dem git von andig für FritzOs 7.1
Hier die Ausgabe auf der Console:
php -f carddav2fb run -i
Downloading vCard(s) from account my.nextcloud.user.name
xxx [============================]
Downloaded xxx vCard(s)
Dissolving groups (e.g. iCloud)
Dissolved 0 group(s)
Filtering xxx vCard(s)
Filtered out 0 vCard(s)
Detaching and uploading image(s)
xxx/xxx [============================] 100%
Uploaded/refreshed 0 of 0 image file(s)
Contact without phone numbers will be skipped
.
.
.
Contact without phone numbers will be skipped
Converted xxx vCard(s)
Uploading
In Api.php line 138:
Login failed with an unknown response - please check credentials.
run [-i|--image] [-c|--config CONFIG]
Hat vielleicht irgend jemand einen Tip?
hier noch meine config.php:
<?php
$config = [
// phonebook
'phonebook' => [
'id' => 1, // only "0" can store quickdial and vanity numbers
'name' => 'telefonbuch',
'imagepath' => 'file:///var/InternerSpeicher/USB2-0-FlashDisk-01/FRITZ/fonpix/', // mandatory if you use the -i option
],
// or server
'server' => [
[
'url' => 'https://path-to-nextcloud/nextcloud/remote.php/dav/addressbooks/users/my-name/contacts/',
'user' => 'nextcloud_user',
'password' => 'my-pwd',
'http' => [ // http client options are directly passed to Guzzle http client
'verify' => false, // uncomment to disable certificate check
// 'auth' => 'digest', // uncomment for digest auth
]
],
/* add as many as you need
[
'url' => '',
'user' => '',
'password' => '',
],
*/
],
// or fritzbox
'fritzbox' => [
'url' => 'http://fritz.box',
'user' => 'fritz-box-user',
'password' => 'my-pwd',
'fonpix' => '/USB2-0-FlashDisk-01/FRITZ/fonpix', // the storage on your usb stick for uploading images
'fritzfons' => [ // uncomment to upload quickdial image as background to designated FRITZ!Fon
// '613', // internal number must be in the range '610' to '615' (maximum of DECT devices)
],
'http' => [ // http client options are directly passed to Guzzle http client
// 'verify' => true, // uncomment to disable certificate check
],
'plainFTP' => true, // set true to use FTP instead of FTPS e.g. on Windows
],
.
.
.
ich habe folgendes Problem:
trotz stundenlangem probieren komme ich hier nicht mehr weiter
Download der Adressen funktioniert problemlos.
Probleme mit dem Speicherzugriff auf der FritzBox 7590 habe ich auch schon gelöst.
Nun hänge ich hier mit Invalid Credentials beim hochladen auf die FritzBox.
Ich benutze php7.2 auf einem ubuntu 19.04 server mit nextcloud und dem aktuellen carddav aus dem git von andig für FritzOs 7.1
Hier die Ausgabe auf der Console:
php -f carddav2fb run -i
Downloading vCard(s) from account my.nextcloud.user.name
xxx [============================]
Downloaded xxx vCard(s)
Dissolving groups (e.g. iCloud)
Dissolved 0 group(s)
Filtering xxx vCard(s)
Filtered out 0 vCard(s)
Detaching and uploading image(s)
xxx/xxx [============================] 100%
Uploaded/refreshed 0 of 0 image file(s)
Contact without phone numbers will be skipped
.
.
.
Contact without phone numbers will be skipped
Converted xxx vCard(s)
Uploading
In Api.php line 138:
Login failed with an unknown response - please check credentials.
run [-i|--image] [-c|--config CONFIG]
Hat vielleicht irgend jemand einen Tip?
hier noch meine config.php:
<?php
$config = [
// phonebook
'phonebook' => [
'id' => 1, // only "0" can store quickdial and vanity numbers
'name' => 'telefonbuch',
'imagepath' => 'file:///var/InternerSpeicher/USB2-0-FlashDisk-01/FRITZ/fonpix/', // mandatory if you use the -i option
],
// or server
'server' => [
[
'url' => 'https://path-to-nextcloud/nextcloud/remote.php/dav/addressbooks/users/my-name/contacts/',
'user' => 'nextcloud_user',
'password' => 'my-pwd',
'http' => [ // http client options are directly passed to Guzzle http client
'verify' => false, // uncomment to disable certificate check
// 'auth' => 'digest', // uncomment for digest auth
]
],
/* add as many as you need
[
'url' => '',
'user' => '',
'password' => '',
],
*/
],
// or fritzbox
'fritzbox' => [
'url' => 'http://fritz.box',
'user' => 'fritz-box-user',
'password' => 'my-pwd',
'fonpix' => '/USB2-0-FlashDisk-01/FRITZ/fonpix', // the storage on your usb stick for uploading images
'fritzfons' => [ // uncomment to upload quickdial image as background to designated FRITZ!Fon
// '613', // internal number must be in the range '610' to '615' (maximum of DECT devices)
],
'http' => [ // http client options are directly passed to Guzzle http client
// 'verify' => true, // uncomment to disable certificate check
],
'plainFTP' => true, // set true to use FTP instead of FTPS e.g. on Windows
],
.
.
.
Zuletzt bearbeitet: