notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

notify_push bug in docker stack

Open raulrr1986 opened this issue 3 years ago • 2 comments

| Backtrace omitted. notify_push | Run with RUST_BACKTRACE=1 environment variable to display it. notify_push | Run with RUST_BACKTRACE=full to include source snippets. notify_push | Error: notify_push | 0: Failed to parse config notify_push | 1: Failed to parse nextcloud config notify_push | 2: Error while parsing php literal:
notify_push | 2: 1 | array ( notify_push | 2: 2 | 'mail_smtpmode' => 'smtp', notify_push | 2: 3 | 'mail_smtphost' => getenv('SMTP_HOST'),
notify_push | 2: | ^^ No valid token found, expected one of [Bool, Integer, Float, LiteralString, Null, Array, SquareOpen] notify_push | 2: 4 | 'mail_smtpport' => getenv('SMTP_PORT') ?: (getenv('SMTP_SECURE') ? 465 : 25), notify_push | 2: 5 | 'mail_smtpsecure' => getenv('SMTP_SECURE') ?: '', notify_push | 2: notify_push | notify_push | Location: notify_push | src/config/nc.rs:8 notify_push | notify_push | Backtrace omitted. notify_push | Run with RUST_BACKTRACE=1 environment variable to display it. notify_push | Run with RUST_BACKTRACE=full to include source snippets.

raulrr1986 avatar Jul 11 '21 01:07 raulrr1986

I have the same issues:

Backtrace omitted.,
Run with RUST_BACKTRACE=1 environment variable to display it.,
Run with RUST_BACKTRACE=full to include source snippets.,
Error: ,
   0: Failed to parse config,
   1: Failed to parse nextcloud config,
   2: Error while parsing php literal:  ,
   2: . |,
   2: 2 |   "apps_paths" => array (,
   2: 3 |       0 => array (,
   2: 4 |               "path"     => OC::$SERVERROOT."/apps",                                                                               ,
   2:   |                             ^^ No valid token found, expected one of [Bool, Integer, Float, LiteralString, Null, Array, SquareOpen],
   2: 5 |               "url"      => "/apps",,
   2: 6 |               "writable" => false,,
   2: ,

I think the issue is not docker related. It is related to #108

cryxy avatar Jul 13 '21 20:07 cryxy

I encounter the exactly same problem like @cryxy . The file causing the error is config/apps.config.php:

/var/www/html # grep SERVERROOT config/*.php
config/apps.config.php:              'path'     => OC::$SERVERROOT.'/apps',
config/apps.config.php:              'path'     => OC::$SERVERROOT.'/custom_apps',

Hence, it is like stated in #108: All config/*.config.php files are read from notify_push - even if the --glob-config flag is not used.

aanno avatar Jul 17 '21 20:07 aanno

Hence, it is like stated in #108: All config/*.config.php files are read from notify_push - even if the --glob-config flag is not used.

Fixed in #115

joshtrichards avatar Jan 16 '24 02:01 joshtrichards