Discussions
Activity
Sign In
How it works
Grisha Kostyuk
Activity
Discussions
Comments
52
Mongo Auth and Superdesk Server Initialization
Hi James, I think you should also update the setting for content-api CONTENTAPI_MONGO_URI with the same username and password - https://superdesk.readthedocs.io/en/latest/settings.html#contentapi-mongo-uri Hope it helps.
Comment by
Grisha Kostyuk
August 2017
permalink
Sending User Notification Emails Not Working
Have you seen this instruction? - https://github.com/superdesk/fireq/tree/master/files/superdesk#emails you should stop dev SMTP server $ systemctl stop superdesk-smtp$ systemctl disable superdesk-smtp then setup postfix again and configure it prope…
Comment by
Grisha Kostyuk
August 2017
permalink
Difficulties with installing liveblog
Hi Liam, You could try another way to install it:- https://github.com/superdesk/fireq/tree/master/files/liveblog
Comment by
Grisha Kostyuk
May 2017
permalink
Errors at end of installation
> bash: line 174: 24454 Killed It looks like the proccess was killed by OS, probably you have a VPS with less memory than 2GB, am I right? > Minimal requirements: 2GB RAM, 4GB Free space from https://github.com/superdesk/fireq/tree/master/file…
Comment by
Grisha Kostyuk
April 2017
permalink
Email publishing
supervisorctl start mail This is development SMTP server and seems superdesk sends emails.But configuration of proper real SMTP server is not topic fo superdesk forum...
Comment by
Grisha Kostyuk
April 2017
permalink
Email publishing
please check this supervisorctl status | grep mail if it's RUNNING, this is dev SMTP server and emails are accessible on "/mail/" url then you need supervisorctl stop mail
Comment by
Grisha Kostyuk
April 2017
permalink
backup e restore - elasticdump
Try to install another version of "mongodump" apt install mongodb-org-tools it should be something like: # mongodump --versionmongodump version: r3.2.12git version: aa57de98d94e086fb44608a6d29ab8323613abeaGo version: go1.7 os: linux ar…
Comment by
Grisha Kostyuk
April 2017
permalink
OS to install live blog
Hi, Yes, using LXC with Ubuntu 16.04 inside :) Instructions here: https://github.com/superdesk/fireq/tree/master/files/liveblog#install-in-lxc-container
Comment by
Grisha Kostyuk
April 2017
permalink
Go to mongodb
Like this: honcho start https://github.com/superdesk/superdesk/blob/1.0/server/Procfile
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
This is out of superdesk topic. There is my vim config: https://github.com/naspeh/dotfiles/blob/master/env/vim/init.vim But I've been using Vim for a long while, it's my preference, it doesn't fit for all and has a big learning curve.…
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
logs are here /var/log/superdesk/ I usually use logs for debug server part and Chrome dev tools for client part.
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
Sorry, you have problems with backup of elasticsearch, mongo, etc... I can't fix all things you have on server, you should be able to fix them by yourself. > How do I RUN Superdesk in an IDE like Pycharm?I don't know, I use VIM, not IDE.
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
From mongo logs I can see that is not running: 2017-03-15T06:47:59.665-0700 I STORAGE [initandlisten] exception in initAndListen: 98 Unable to lock file: /var/lib/mongodb/mongod.lock Resource temporarily unavailable. Is a mongod instance already ru…
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
Backup:elasticdump \ --input=http://localhost:9200/superdesk \ --output=/data/my_index_mapping.json \ --type=mappingelasticdump \ --input=http://localhost:9200/superdesk \ --output=/data/my_index.json \ --type=data Restore on another server:el…
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
With mongo backups, you also need elaticsearch backup, for example using:https://www.npmjs.com/package/elasticdump you need two of these--type=mapping--type=data
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
A little mistake, must be "sub_filter_types application/json;" for /api location /api { proxy_pass http://localhost:5000; proxy_set_header Host localhost; expires epoch; sub_filter_once off; sub_filt…
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
Update /api section location /api { proxy_pass http://localhost:5000; proxy_set_header Host localhost; expires epoch; sub_filter_once off; sub_filter_types application/javascript; sub_filter 'http…
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
it is nginx configuration thing. replace /etc/nginx/conf.d/default.conf with this, in general three line with 3127 port is new... server { listen 3127 default; location /ws { proxy_pass http://localhost:5100; proxy_http_version …
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
something with your mongo$ systemctl status mongod$ cat /var/log/mongodb/mongod.log$ systemctl restart mongod$ cat /var/log/superdesk/rest.log
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
What have you used to install it? please provide /etc/nginx/conf.d/default.conf and /etc/superdesk.sh
Comment by
Grisha Kostyuk
March 2017
permalink
Go to mongodb
Please run this in your VMware curl -s https://raw.githubusercontent.com/superdesk/fireq/master/files/superdesk/deploy | sudo bash after that it should work
Comment by
Grisha Kostyuk
March 2017
permalink
Embed code Liveblog not available
Hi, It needs AMAZON settings Please fill them in /etc/liveblog.shAMAZON_SECRET_ACCESS_KEY= AMAZON_ACCESS_KEY_ID= …
Comment by
Grisha Kostyuk
March 2017
permalink
Creating the initial admin user
Now this script is creating superdesk instance with minimal data (without demo data, only admin:admin is here): https://github.com/superdesk/fireq#install-a-superdesk-on-fresh-ubuntu-1604
Comment by
Grisha Kostyuk
February 2017
permalink
Creating the initial admin user
Hi, Please try https://github.com/naspeh-sf/deploy#fresh-ubuntu-1604 For clean installation(without demo data) you need to modify script a little: Create file "/tmp/superdesk.sh" with this```#!/bin/shset -erepo=/opt/superdesk-deploy apt-ge…
Comment by
Grisha Kostyuk
January 2017
permalink
Blocking to create news users in Superdesk
Here are settings from out test servers: root@sd-master:~# cat /opt/superdesk/envfile | grep MAILMAIL_FROM=admin@test.superdesk.orgMAIL_SERVER=localhostMAIL_PASSWORD=''MAIL_PORT=25MAIL_USERNAME=''MAIL_USE_SSL=FalseMAIL_USE_TLS=Fa…
Comment by
Grisha Kostyuk
December 2016
permalink
Blocking to create news users in Superdesk
Hey, how you installed the Superdesk? When you create users in UI then you need a working SMTP server to receive emails with confirmations - https://github.com/superdesk/install-scripts this scripts are installing SMTP(www.exim.org) server too - htt…
Comment by
Grisha Kostyuk
December 2016
permalink
Superdesck Installation
There are settings like: MAIL_PORT=25MAIL_USERNAME=MAIL_USE_SSL=FalseMAIL_PASSWORD=MAIL_SERVER=localhostMAIL_FROM=MAIL_USE_TLS=False you need setup SMTP server and fill them properly...
Comment by
Grisha Kostyuk
December 2016
permalink
Superdesck Installation
Script is not istalling email server, so you should install it by your self, or change settings in /opt/superdesk/envfile
Comment by
Grisha Kostyuk
December 2016
permalink
Superdesck Installation
for clean Ubuntu 16.04 server edition, there is no apache installed, so if you have apache you should disable it or uninstall it how you did before. After this one command, I posted before will install nginx with superdesk for you.
Comment by
Grisha Kostyuk
December 2016
permalink
Superdesck Installation
Sorry I missed thie error from log file: > Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details. so nginx seems have trouble wit…
Comment by
Grisha Kostyuk
December 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
Follow Grisha Kostyuk
About
Username
Grisha Kostyuk
Joined
July 2016
Visits
0
Last Active
October 2017
Roles
Member, Sourcefabric Team
Posts
52
Friends
Followed by 1 person
My Badges
Total Points: 50
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