Discussions
Activity
Sign In
How it works
Petr Jasek
Activity
Discussions
1
Comments
143
Upgrading superdesk
it should be: cd /opt/superdesk . activate.sh honcho run python manage.py app:index_from_mongo --all
Comment by
Petr Jasek
May 2020
permalink
Upgrading superdesk
yes redis is for cache/notifications, you can skip that. it would be wise to backup mongo, you can restore elastic from there if needed. petr
Comment by
Petr Jasek
May 2020
permalink
Upgrading superdesk
hi, there is also redis but you don't have to backup that one. that update description looks ok, on client you might run also npm upgrade after npm install, depends on the npm version if that's needed or not, but won't do any harm. pe…
Comment by
Petr Jasek
May 2020
permalink
Mail shows link til www.example.com:9000
I think you can set CLIENT_URL in settings.py to override it: https://github.com/superdesk/superdesk-core/blob/master/superdesk/default_settings.py#L101
Comment by
Petr Jasek
May 2019
permalink
Can Superdesk do this?
I think so, not sure about the api requirements you have, but there is rest api we use from javascript client.There are content profiles where you can add custom fields to article, and versioning is supported.
Comment by
Petr Jasek
April 2019
permalink
content api questions
thanks for all the info, we usually don't use contentapi from js client so didn't have that problem before
Comment by
Petr Jasek
November 2018
permalink
Combine fulltext search with tag filtering through logical operators
hi, you can use raw query where you can use elastic query string so it would be something like: published:("summer olympics" AND "NY Times")
Comment by
Petr Jasek
October 2018
permalink
Default Content Profile fields
hi, you can set in your settings.py DEFAULT_CONTENT_PROFILE = 'profile-id' which should be used for ingested items
Comment by
Petr Jasek
October 2018
permalink
RSS feed: Ingest article and photo together
hi, not possible atm via some config, it would need some changes in rss feed parser.now it should be creating separate item for text and picture plus a package where those 2 are put together
Comment by
Petr Jasek
October 2018
permalink
Take a look on our installation
hi, I think you're missing some initial data needed to run it, you can populate it running command: python manage.py app:initialize_data in superdesk/server folder. regarding assistance you can contact sourcefabric on contact@sourcefabric.org
Comment by
Petr Jasek
October 2018
permalink
Ingest works agency by agency
hi, you should be able to add more celery workers to handle it, it should generate a task for each provider. in procfile there is single worker process started, you can start more using honcho or copy&pasting the line in the Procfile https://git…
Comment by
Petr Jasek
October 2018
permalink
Any suggestions for 2nd level Nginx reverse-proxy config
you can change the websocket url in config.js file you add to dist folder, like this one: window.superdeskConfig={ defaultTimezone: "Europe/Oslo", server: { url: "https://example.superdesk.pro/api", ws: …
Comment by
Petr Jasek
September 2018
permalink
Ingestion error
seems like guid doesn't get populated during ingest, it should use head/docdata/doc-id/@id-string,is it in the file?
Comment by
Petr Jasek
June 2018
permalink
Ingestion error
seems like guid doesn't get populated during ingest, it should use head/docdata/doc-id/@id-string,is it in the file?
Comment by
Petr Jasek
June 2018
permalink
superdesk - publish setup
removing it in https://github.com/superdesk/superdesk-client-core/pull/2411
Comment by
Petr Jasek
June 2018
permalink
superdesk - publish setup
hi, I think this one is not used at all, imo it was copy/pasting the config from ingest ftp, where it makes sense.
Comment by
Petr Jasek
June 2018
permalink
Setting up locations and categories in Superdesk
yep data for each resource should be in its own file, locators have a specific resource
Comment by
Petr Jasek
June 2018
permalink
Setting up locations and categories in Superdesk
I think it should be just -p ./data/ , you can try adding -f that should force the update
Comment by
Petr Jasek
June 2018
permalink
Setting up locations and categories in Superdesk
hi, yes we do it eg here: https://github.com/superdesk/superdesk-ntb/blob/master/server/data/vocabularies.json#L2-L23 just when you run manage.py app:initialize_data run it once more with -p
Comment by
Petr Jasek
June 2018
permalink
[SOLVED] ERROR:superdesk.errors:'NoneType' object has no attribute 'get'
that's fine. it's just a bug in the code. can you try to put in your server/requirements.txt instead of: superdesk-core==1.13 this: -e git+git://github.com/petrjasek/superdesk-core.git@97b4dab#egg=Superdesk-Core and then do the update?
Comment by
Petr Jasek
February 2018
permalink
[SOLVED] ERROR:superdesk.errors:'NoneType' object has no attribute 'get'
do you use category field?
Comment by
Petr Jasek
February 2018
permalink
[SOLVED] ERROR:superdesk.errors:'NoneType' object has no attribute 'get'
hey, looks like a bug, will be releasing a new version shortly, not sure if it will fix anything but can you test it when it's out? just to be sure..
Comment by
Petr Jasek
February 2018
permalink
[SOLVED] Error on editing Image Crop Sizes
this is a bug and afaik it was fixed already, what superdesk version do you use?
Comment by
Petr Jasek
February 2018
permalink
[SOLVED] 413 Request Entity Too Large
hey, that should be related to client_max_body_size, what is your nginx config?
Comment by
Petr Jasek
February 2018
permalink
Desk language drop list is empty
there is a related conversation on github - https://github.com/superdesk/superdesk/issues/2748
Comment by
Petr Jasek
December 2017
permalink
How to restart Superdesk
I think it should work via: systemctl stop superdesksystemctl start superdesk
Comment by
Petr Jasek
July 2017
permalink
Correct syntax for Copyright Vocabulary
there is no special syntax there, it's formatted based on output format, so eg in newsml it uses copyright* fields (https://iptc.github.io/doctest2/book1-text), in ninjs it would use copyright* fields and usageterms etc.some hints are in ninjs …
Comment by
Petr Jasek
April 2017
permalink
create user
you have to use authentication token that you get via email
Comment by
Petr Jasek
December 2016
permalink
Installation issue on AWS
you can try this: cd /opt/superdesk . env/bin/activate honcho run python3 manage.py app:initialize_data --sample-data -f
Comment by
Petr Jasek
November 2016
permalink
Updating SD using AWS Ubuntu
it should be in /opt/superdesk folder
Comment by
Petr Jasek
November 2016
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Stop following
About
Username
Petr Jasek
Joined
September 2010
Visits
0
Last Active
May 2020
Roles
Member
Posts
144
Friends
Followed by 4 people
My Badges
Total Points: 85
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339