Ghost: invalid ghost-cli version error message when restarting - ghost-blog

I have problems restarting ghost after updating to ghost 3.0. When I run the command ‘ghost version’ in the htdocs folder I get:
Ghost-CLI version: 1.13.1 Ghost version: 3.0.3 (at
/opt/bitnami/apps/ghost/htdocs)
But when I run ‘ghost start’ or similar commands I get the following message:
Ghost-CLI only works with Ghost versions >= 1.0.0. If you are trying
to upgrade Ghost LTS to 1.0.0, refer to
https://ghost.org/faq/upgrade-to-ghost-1-0/. Otherwise, run ghost
start again within a valid Ghost installation.
Did anybody have the same issue or maybe know a fix?

Related

Jupyternotebook Internal Server Error 500 due to conflicting pip dependency errors (Jinja2)

I was facing an 'Internal Server Error 500' problem with my Jupyter Notebook, which led me to uninstall and reinstall Anaconda multiple times each hour. However, the problem persisted. I followed the suggestions on stackoverflow to tackle the internal server error problem.
pip install --upgrade "ipython[all]"
An error message appeared in the midst of installing spyder 5.1.5.
spyder 5.1.5 requires pyqt5<5.13, which is not
installed.
spyder 5.1.5 requires pyqtwebengine<5.13, which is
not installed.
I proceeded to install the correct versions of pyqtwebengine and pyqt5. Along the way, Jinja2 and MarkupSafe were also installed.
Successfully installed pyqtwebengine-5.12.1
Successfully installed pyqt5-5.12.3
Successfully installed Jinja2-2.11.3 MarkupSafe-
1.1.1
When I tried to install spyder once more (spyder==5.1.5) thereafter, I was notified that conflicting versions of Jinja2 were required.
flask 2.1.0 requires Jinja2>=3.0, but you have
jinja2 2.11.3 which is incompatible.
cookiecutter 1.7.2 requires Jinja2<3.0.0, but you
have jinja2 3.0.0 which is incompatible.
More details about the conflicting version errors are shown in the picture.
Assuming that error involving conflicting versions of jinja2 is the reason for my 'internal server error 500' problem, may I know how should I go about revsolving this issue?

Updating R to 3.5+ on Ubuntu 18.04

I'm looking to update R on our ubuntu 18.04 server to 3.5 or higher but I'm experiencing some difficulties.
Installing it via install r-base results in version 3.4.x, we need 3.5 or higher to run some specific scripts. I've also consulted this website: https://cran.ma.imperial.ac.uk/, and attempted add the repository listed (sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+) but this results in the following errors:
Cannot add PPA: 'ppa:~c2d4u.team/ubuntu/c2d4u4.0+'.
ERROR: '~c2d4u.team' user or team does not exist.
At this point, I'm at a loss. I'm wondering if it's potentially a firewall issue? or is there a setting I need to change.
What about downloading .deb(s) from https://cloud.r-project.org/bin/linux/ubuntu/bionic-cran40/ and installing them with dpkg / apt?

Error found while developing games with react

I am getting the following error while duilding tic-tac-toe game with react.
"./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/index.css)
Error: Package exports for 'G:\Nodejs\projectReact\tic-tac-toe\node_modules\colorette' do not define a valid '.' target"
I faced a similar issue when I had the latest colorette version installed i.e. 1.2.1. As per my understanding, this version of colorette requires Node 14+ while I have Node 13.1. Therefore there are two options to resolve this, either upgrade Node to 14+ version of downgrade colorette to its previous version 1.2.0.
I have not tried upgrading Node as it will effect my other projects so I have just downgraded colorette to 1.2.0 and it works fine for my case by using following commands.
To uninstall colorette:
npm uninstall colorette
To install colorette version 1.2.0:
npm install colorette#1.2.0
Had the same problem when using node v 13.1.x upgrade it to 14.x helped so far using command :
sudo n latest

Dependency issue installing DevStack

I am trying to install Openstack using DevStack. After correctly creating the user stack and running ./stack.sh, the script starts to install the required dependencies until it hits Obtaining file:///opt/stack/cinder. Then I obtain the following errors:
Exception:
ContextualVersionConflict: (grpcio 1.21.1 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('grpcio<1.16.0,>=1.0.0'), set(['tooz']))
I understand that there is a conflict in grpcio, but I don't know how to solve it. I already unsuccessfully tried to install a specific version between 1.0.0 and 1.16.0.
The Devstack version I am using is the latest from the git master.
I think I solved the problem myself.
I had the tooz package installed with version 1.62 which was causing the issue.
After removing that package the installation completed.

Rstudio-server won't start after updating to R 3.5.0: Error occured during transmission

I have recently moved from MRO 3.4.3 to R 3.5.0. I can start and use the new installation of R perfectly from the terminal, but when I stat Rstudio-server, an error panel appears with the message: "Error occured during transmission"
The log at /var/log/messages shows this:
Jun 6 11:28:51 slave1 rsession-victor[116037]: ERROR R SUICIDE: unable to initialize the JIT|||; LOGGED FROM: void<unnamed>::rSuicide(const std::string&) /root/rstudio/src/cpp/session/SessionMain.cpp:1023
I have tried to remove the files /etc/rstudio/rserver.conf and /etc/rstudio/rsession.conf that I had changed to use the previous MRO installation, but it didn't work. Also, I have tried to to remove completely the .rstudio folder in my home directory.
Any ideas about how to solve this?
Thanks!
I had the same problem after installing R 3.5.1 from sources.
The reason for the error is that libR.so is not build using the
simple installation procedure described in file INSTALL. RStudio
searches for this and finds an incompatible (old) one. Use this instead:
./configure --enable-R-shlib
make

Resources