Tryton Incompatible version of the server - ubuntu-11.10

I'm trying to connect Tryton to a postgres database. In the Tryton client profile, I used the following details:
Hostname : localhost
port : 8000
username : admin
Now everytime I put in the details above, the database labels show:
Incompatible version of the server
So I check out Tryton server and client version and I found out its:
tryton = 2.6.0
trytond = 2.0.1
Ok, now I know that the trytond is not the same as my tryton version.
I have searched the web many times to find a matching client and server version but failed.
Even in Ubuntu synaptic package manager, I can't find a real same version.

You must use the same two first version number. So you must use 2.6 series or 2.0 series.
On Ubuntu, last series packaged is 2.2.

Are you using pip? If not, then install it first. This is the best tool(in my knowledge) to install python packages.
To install tryton client using pip sudo pip install 'tryton>2.6,<2.7' and for tryton server sudo pip install 'trytond>2.6,<2.7'. This will install both tryton client and server of latest series 2.6. To install different version just change the version number in command.
All the best!

you can download the tryton and and corresponding trytond versions from http://downloads.tryton.org/2.6/

Related

Installing MySQL Client 5.6 on Ubuntu 18.04

I have a legacy project that I'm trying to modernize, and part of that involves setting up a more efficient system of automated backups using mysqldump.
The app's database is using MySQL 5.6, and is hosted via an RDS instance. To get mysqldump up and running, I believe I need to install a version of mysql-client that corresponds to 5.6.
However, running apt-get install mysql-client installs 8.0 by default. However, I can't find any version-specific versions of mysql-client available. Running sudo apt-get install mysql-client-5.7 returns a notice that there's no installation candidate available.
Is it still possible to install older versions of mysql-client? If not, is there another way to get ahold of the mysqldump functionality?
Edit: As #exussum noted below, 8.0 is backwards compatible with 5.6 and 5.7. I was hitting errors when running mysqldump, which I'd assumed indicated incompatibility, but were actually related to my app specifically.
They are backwards compatible, so you can use mysql-client 8 to dump mysql-server 5.5
to get a specific version docker is great
(sudo apt install docker) to install
docker run mysql:5.6 mysqldump
will run mysqldump though docker, and you can choose your version there easily enough

FreeBSD: upgrade MongoDB server from 2.6 to 3.0

Running MongoDB v2.6 Server on FreeBSD operating system, I am looking for a way to upgrade the MongoDB version to at least v3.0. According to MongoDB website, I need to replace the binaries but I am not able to find appropriate download binaries for FreeBSD there MongoDB download website. Alternatively I had hoped, I could upgrade the binaries using pkg package manager but I don't know which command to use to upgrade to a specific version. I am looking for something like:
pseudocode:
sudo pkg upgrade mongod v3.03
I've been crawling the web for days now to find a download link for Freebsd binaries for Version 3.0x or right upgrade command using pkg package manager.
Solution is: using the command "pkg install mongodb36-3.6.6_2" as suggested in the link by Valijon will first deinstall a previous version and then install v3.6 of MongoDB Server. Just what I was looking for.

How to install two mongodb instance in a single machine?

I want to setup two versions of mongodb on my machine on different ports
I already installed 4.0.5 version of the mongodb on my machine on port number 27018 but now I want to install the mongodb version 3.6 on my machine I'm installing it from this link. It show me the error of that I have already installed mongodb latest version 4.0.5. error :-
mongodb-org is already the newest version (4.0.5).
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-39 linux-headers-4.15.0-39-generic linux-image-4.15.0-39-generic linux-modules-4.15.0-39-generic
linux-modules-extra-4.15.0-39-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
How I install two instance on a single machine on different ports.
Install via package manager two packages with different version may be impossible. At now may be easy and modern way to use docker.

How to install MongoDB on amazon linux and connect it to Laravel-jenssegers MongoDB?

I followed this for installing mongodb on Amazon Linux. I have a laravel project to host on my amazon Linux server. Jenssegers mongoDB is already installed in the framework while developing the web app (in Ubuntu).
The web app was developed in Ubuntu 12.04 LTS, and it was working properly.
When I hosted it on the server I am getting error:
Class 'MongoClient' not found
My questions are
1. How can I configure mongodb on amazon linux?
(now when i do sudo service mongod restart it is showing FAILED)
2.What all are the configurations that must be changed in the web app(which is done in Ubuntu) in order to use mongodb?
I am using PHP54
httpd 24
Laravel 4.2
Mongo client is not included in the base PHP API. Instead it needs to be installed as extension.
Its not part of the base repository, but it is part of EPEL which can be enabled on Amazon Linux. You can also install it via pecl (Provided you have installed the tools to compile extensions). Use one of the two commands to install the extension:
yum install php-pecl-mongo --enablerepo=epel
OR
pecl install mongo
Once the installation is complete, restart apache and/or php.

Version mismatch for Searchd and Sphinxsearch

I am using CakePHP behavior plugin with sphinx server
searchd error: client version is higher than daemon version (client is v.1.30, daemon is v.1.25)
Well you need to change the version of either the client or the server, so they match!
You could replease sphinxapi.php with the version from the package you installed of the server.
Or could find what version yuo have sphinxapi.php from and install the same server version.