Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Path cannot be empty #1815

Closed
3 tasks done
melroy89 opened this issue Jun 6, 2022 · 3 comments
Closed
3 tasks done

ValueError: Path cannot be empty #1815

melroy89 opened this issue Jun 6, 2022 · 3 comments
Labels

Comments

@melroy89
Copy link

melroy89 commented Jun 6, 2022

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

  • I have read the CONTRIBUTING.md and followed the provided tips
  • I accept that the issue will be closed without comment if I do not check here
  • I accept that the issue will be closed without comment if I do not fill out all items in the issue template.

Explain the Problem

Error in logging:

{
   "reqId":"d03jUImkefCZ2V8Cqmvc",
   "level":3,
   "time":"2022-06-06T20:50:08+00:00",
   "remoteAddr":"",
   "user":"--",
   "app":"core",
   "method":"",
   "url":"--",
   "message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )",
   "userAgent":"--",
   "version":"24.0.1.1",
   "exception":{
      "Exception":"ValueError",
      "Message":"Path cannot be empty",
      "Code":0,
      "Trace":[
         {
            "file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php",
            "line":21,
            "function":"get_headers"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php",
            "line":99,
            "function":"retrieveHeader",
            "class":"Favicon\\DataAccess",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php",
            "line":190,
            "function":"info",
            "class":"Favicon\\Favicon",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php",
            "line":161,
            "function":"getFavicon",
            "class":"Favicon\\Favicon",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php",
            "line":346,
            "function":"get",
            "class":"Favicon\\Favicon",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php",
            "line":438,
            "function":"getFavicon",
            "class":"OCA\\News\\Fetcher\\FeedFetcher",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php",
            "line":129,
            "function":"buildFeed",
            "class":"OCA\\News\\Fetcher\\FeedFetcher",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php",
            "line":265,
            "function":"fetch",
            "class":"OCA\\News\\Fetcher\\FeedFetcher",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php",
            "line":342,
            "function":"fetch",
            "class":"OCA\\News\\Service\\FeedServiceV2",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php",
            "line":55,
            "function":"fetchAll",
            "class":"OCA\\News\\Service\\FeedServiceV2",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php",
            "line":71,
            "function":"update",
            "class":"OCA\\News\\Service\\UpdaterService",
            "type":"->",
            "args":[
               "*** sensitive parameters replaced ***"
            ]
         },
         {
            "file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php",
            "line":54,
            "function":"run",
            "class":"OCA\\News\\Cron\\UpdaterJob",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php",
            "line":60,
            "function":"execute",
            "class":"OC\\BackgroundJob\\Job",
            "type":"->"
         },
         {
            "file":"/var/www/nextcloud/html/cron.php",
            "line":151,
            "function":"execute",
            "class":"OC\\BackgroundJob\\TimedJob",
            "type":"->"
         }
      ],
      "File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php",
      "Line":21,
      "CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"
   },
   "id":"629e6beec1cbf"
}

Steps to Reproduce

Explain what you did to encounter the issue

But an error is triggered every hour (due to cronjob trigger)

System Information

  • News app version: 18.0.1
  • Nextcloud version: 24.0.1
  • Cron type: system cron
  • PHP version: php-fpm8.0
  • Database and version: MariaDB 10.3.34
  • Browser and version: Firefox 101.0
  • OS and version: Linux Mint 20.3
Contents of nextcloud/data/nextcloud.log
{"reqId":"OvqmmYStzknxBOaW6qwq","level":3,"time":"2022-06-06T11:15:07+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"5A7BHwjVkyL5q8SSsJ9m","level":3,"time":"2022-06-06T12:15:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"tfCnyATKoyvopNbCOEWR","level":3,"time":"2022-06-06T13:20:07+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"73oLL5UQH95fMjcjoxxS","level":3,"time":"2022-06-06T14:20:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"LXwrXFa9r3ySlu2ileh4","level":3,"time":"2022-06-06T15:25:09+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"9VbCvefeJUK4slgr3LUH","level":3,"time":"2022-06-06T16:30:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"umgYDBYwHs5S6EurAK42","level":3,"time":"2022-06-06T17:35:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"hGyiv6UI21Ld8SSvyKuY","level":3,"time":"2022-06-06T18:40:09+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"0wl2kmC1fx8sawEW2pQz","level":3,"time":"2022-06-06T19:45:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
{"reqId":"d03jUImkefCZ2V8Cqmvc","level":3,"time":"2022-06-06T20:50:08+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )","userAgent":"--","version":"24.0.1.1","exception":{"Exception":"ValueError","Message":"Path cannot be empty","Code":0,"Trace":[{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","line":21,"function":"get_headers"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":99,"function":"retrieveHeader","class":"Favicon\\DataAccess","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":190,"function":"info","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/Favicon.php","line":161,"function":"getFavicon","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":346,"function":"get","class":"Favicon\\Favicon","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":438,"function":"getFavicon","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Fetcher/FeedFetcher.php","line":129,"function":"buildFeed","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":265,"function":"fetch","class":"OCA\\News\\Fetcher\\FeedFetcher","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/FeedServiceV2.php","line":342,"function":"fetch","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Service/UpdaterService.php","line":55,"function":"fetchAll","class":"OCA\\News\\Service\\FeedServiceV2","type":"->"},{"file":"/var/www/nextcloud/html/apps/news/lib/Cron/UpdaterJob.php","line":71,"function":"update","class":"OCA\\News\\Service\\UpdaterService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/Job.php","line":54,"function":"run","class":"OCA\\News\\Cron\\UpdaterJob","type":"->"},{"file":"/var/www/nextcloud/html/lib/private/BackgroundJob/TimedJob.php","line":60,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/html/cron.php","line":151,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/html/apps/news/vendor/arthurhoaro/favicon/src/Favicon/DataAccess.php","Line":21,"CustomMessage":"Error while running background job (class: OCA\\News\\Cron\\UpdaterJob, arguments: )"}}
Contents of Browser Error Console Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put here
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”).
No OC found index.js:46:4
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
JQMIGRATE: Migrate is installed, version 3.4.0 jquery-migrate.min.js:2:698
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
Loading theming data for notification bell styling App.vue:150
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
Registering notifications container as a menu App.vue:160
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:62:15
Notifications permissions granted App.vue:395
Polling interval updated to 30000 App.vue:355
Started background fetcher as session_keepalive is enabled App.vue:217
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 globals.js:62:15
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 globals.js:62:15
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). angular.min.js:205
session heartbeat polling started session-heartbeat.js:103:9
[DEBUG] unified-search: Unified Search initialized with the following providers 
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, 8: {…}, 9: {…}, … }
ConsoleLogger.js:29:8
Got notification data App.vue:318
Polling interval updated to 30000 App.vue:355
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:62:15
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”).
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 22 globals.js:62:15
Loading mixed (insecure) display content “http://www.doctormonk.com/favicon.ico” on a secure page angular-animate.min.js:11
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 globals.js:62:15
No new notification data received App.vue:323
Polling interval updated to 30000 App.vue:355
@melroy89 melroy89 added the bug label Jun 6, 2022
@anoymouserver
Copy link
Contributor

I don't think that the mentioned feed is causing this (at least it's working for me without any issue)

It seems that one of your feeds has an invalid redirect (redirection status code, but no valid new location) and the upstream dependency used to retrieve the favicon can't handle this.

  1. read the location field from the response .. which is apparently an invalid url or missing (handled as empty) in this case (ArthurHoaro/favicon/src/Favicon/Favicon.php#L113)
  2. try to query the new header, this time with the invalid new target url (ArthurHoaro/favicon/src/Favicon/Favicon.php#L99)
  3. get_header is called with the invalid url (or an empty string), which is not allowed (ArthurHoaro/favicon/src/Favicon/DataAccess.php#L21)

@melroy89
Copy link
Author

Anyway. Could this be handled as a warning rather than an error for the server admin / end user?

Since I think it's it doesn't makes sense to cause error log pollution due to this.

@Grotax
Copy link
Member

Grotax commented Mar 23, 2023

Should be fixed by: #2096

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants