Wordpress push post image fail


(Johan) #1

Hello, i’ve a problem with the image feature when i post an post on my wordpress blog.
A new topic is create on my discourse but the image dont show, i have a broken image.

but in preview that works:

I dont understand

Thanks


(Vinoth Kannan) #2

Is there anything in /logs when this happens.


(Johan) #3

which log file ?

no interesting content inside:
/var/discourse/shared/standalone/log/var-log/nginx/error.log


(Vinoth Kannan) #4

You can see all your error logs in URL http://discourse.example.com/logs


(Johan) #5

Message

default: FinalDestination did not work for: https://blog.domadoo.fr/wp-content/uploads/2018/01/homeseer_ces2018_titre.jpg

Backtrace

/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/logster-1.2.9/lib/logster/logger.rb:93:in `add_with_opts' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/logster-1.2.9/lib/logster/logger.rb:50:in `add' 
/usr/local/lib/ruby/2.4.0/logger.rb:543:in `error' 
/var/www/discourse/lib/file_helper.rb:8:in `public_send' 
/var/www/discourse/lib/file_helper.rb:8:in `log' 
/var/www/discourse/lib/file_helper.rb:54:in `download' 
/var/www/discourse/app/jobs/regular/pull_hotlinked_images.rb:20:in `download' 
/var/www/discourse/app/jobs/regular/pull_hotlinked_images.rb:66:in `block in execute' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:190:in `block in each' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `upto' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb:189:in `each' 
/var/www/discourse/app/jobs/regular/pull_hotlinked_images.rb:58:in `execute' 
/var/www/discourse/app/jobs/base.rb:134:in `block (2 levels) in perform' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/rails_multisite-1.1.2/lib/rails_multisite/connection_management.rb:77:in `with_connection' 
/var/www/discourse/app/jobs/base.rb:129:in `block in perform' 
/var/www/discourse/app/jobs/base.rb:125:in `each' 
/var/www/discourse/app/jobs/base.rb:125:in `perform' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:188:in `execute_job' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:170:in `block (2 levels) in process' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:128:in `block in invoke' 
/var/www/discourse/lib/sidekiq/pausable.rb:80:in `call' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:130:in `block in invoke' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/middleware/chain.rb:133:in `invoke' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:169:in `block in process' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:141:in `block (6 levels) in dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/job_retry.rb:97:in `local' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:140:in `block (5 levels) in dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq.rb:36:in `block in <module:Sidekiq>' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:136:in `block (4 levels) in dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:204:in `stats' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:131:in `block (3 levels) in dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/job_logger.rb:7:in `call' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:130:in `block (2 levels) in dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/job_retry.rb:72:in `global' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:129:in `block in dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/logging.rb:44:in `with_context' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/logging.rb:38:in `with_job_hash_context' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:128:in `dispatch' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:168:in `process' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:85:in `process_one' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/processor.rb:73:in `run' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/util.rb:16:in `watchdog' 
/var/www/discourse/vendor/bundle/ruby/2.4.0/gems/sidekiq-5.0.5/lib/sidekiq/util.rb:25:in `block in safe_thread'

Env

hostname community.domadoo.com
process_id 177
application_version 7c03b31006f6356f0c1f4f08eebc1dbc46594fa5

(Vinoth Kannan) #6

It means your system unable to download the image above. I noticed that the onebox and image of this URL https://blog.domadoo.fr/70672-ces2018-aeotec-presente-6-nouveaux-produits-z-wave/ loading fine in our try.discourse.org.

Accessing your website community.domadoo.com gives blank page error. You may have to upgrade to the latest version. Also I noticed you are using SSL and force_https not yet enabled in your site settings.


(Johan) #7

Hello @vinothkannans
Thanks for your response.
I’ve update my discourse last monday on 1.9.0 version.
What’s odd is that everything worked fine with version 1.8

I’ve enable the force_https Option et update discourse to 1.9.1 but i’ve the same problem.

I’ve rebuild the app in command line ./launcher rebuild app

And the last logs:


(Johan) #8

In private mode i’ve me to blak page, Chrome console say’s:

_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:28913 TypeError: (0 , s.onPageChange) is not a function
    at Object.initialize (_plugin-third-party-56582ebd3421fec764c5b1264d7dd029153de669f6dc3c8a2544f4aafb3739b6.js:163)
    at Object.n.initialize (_application-e43127381df18eac19c99779ceccdd8802610a273269ccda5d20b38e13e9f2c0.js:5089)
    at _ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16430
    at e.each (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14530)
    at e.topsort (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14497)
    at e.topsort (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14442)
    at s._runInitializer (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16445)
    at s.runInstanceInitializers (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:16429)
    at s._bootSync (_ember_jquery-a8dcbd325e04410f036f2a791d66d8316c48c5387acdd914de99a5dd6afb3cd3.js:14748)

Guest Gate (Sign Up Popup Plugin)
(Johan) #9

For the JS error it’s GitHub - jgujgu/discourse-guest-gate: Forced login / registration popup insired by Quora plugin problem.

For the image i don’t knom because on the try discourse that works:


(Johan) #10

@vinothkannans @zogstrip no more ideas ?