You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Qiita changelog
2
2
3
+
Version 2022.09
4
+
---------------
5
+
6
+
* Moved Qiita's code base and plugins to SLURM (from Torque). The plugins updated are: qiita-spots/qp-woltka, biocore/mg-scripts, qiita-spots/qp-spades, qiita-spots/qp-meta, qiita-spots/qp-fastp-minimap2.
7
+
* Pinned the paramiko version to < 2.9 [as newer versions were causing issues with older systems](https://github.com/paramiko/paramiko/issues/1961#issuecomment-1008119073).
8
+
* Pinned the scipy version to < 1.8 to avoid issues with the biom-format library.
9
+
* Updates to the INSTALL instructions (thank you @aliu104 !)
If you don't see this output, your `$PATH` variable was setup incorrectly or you haven't restarted your shell. Consult the [conda documentation](http://conda.pydata.org/docs/install/quick.html).
44
+
If you don't see this output, your `$PATH` variable was setup incorrectly or you haven't restarted your shell. Consult the [conda documentation](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html).
44
45
45
46
As long as you are in the active qiita environment, commands such as `pip install` or `python` will refer to and be contained within this virtual environment.
46
47
@@ -54,7 +55,7 @@ source deactivate
54
55
Install the non-python dependencies
55
56
-----------------------------------
56
57
57
-
*[PostgreSQL](http://www.postgresql.org/download/) (minimum required version 9.5.14, we have tested most extensively with 9.5.15)
58
+
*[PostgreSQL](http://www.postgresql.org/download/) (currently using v13)
58
59
*[redis-server](http://redis.io) (we have tested most extensively with 2.8.17)
59
60
*[webdis] (https://github.com/nicolasff/webdis) (latest version should be fine but we have tested the most with 9ee6fe2 - Feb 6, 2016)
60
61
@@ -64,9 +65,43 @@ There are several options to install these dependencies depending on your needs:
64
65
- Alternatively, you could install them via conda. However, the conda repository may not have the exact versions of these dependencies that you want.
65
66
- You could setup a full development environment with [Vagrant](https://www.vagrantup.com/), and continue using conda under it to primarily manage python dependencies. Note that we don't cover Vagrant in these instructions.
66
67
68
+
### PostgreSQL installation on Linux
69
+
The following instructions have been adapted from [this site](https://computingforgeeks.com/how-to-install-postgresql-13-on-ubuntu/) and tested on Ubuntu v20.04.4 for Postgres v13.
70
+
71
+
First, ensure that you have updated packages and reboot the system with:
72
+
```bash
73
+
sudo apt update && sudo apt -y full-upgrade
74
+
[ -f /var/run/reboot-required ] && sudo reboot -f
75
+
```
76
+
You can reboot the system with `sudo reboot` in case any packages were updated.
77
+
78
+
Next, we need to add the Postgres repository to our system:
Now, we need to reconfigure the `pg_hba.conf` file and change all occurrences of `md5` and `peer` to `trust`. You can access the file with:
91
+
```bash
92
+
sudo vim /etc/postgresql/13/main/pg_hba.conf
93
+
```
94
+
To make sure all changes have been reflected, restart the Postgres server:
95
+
```bash
96
+
sudo service postgresql restart
97
+
```
98
+
Installing Postgres is now complete. Note that you will need to start the Postgres server every time you start the Qiita server. You can do this with the following command:
99
+
```bash
100
+
sudo service postgresql start
101
+
```
67
102
### PostgreSQL installation on Mac OS X
68
103
69
-
For Mac OS X, you can either install postgres through the [Postgres.app](https://postgresapp.com/downloads.html). These instructions were tested with the Postgres.app v9.5.
104
+
For Mac OS X, you can either install postgres through the [Postgres.app](https://postgresapp.com/downloads.html). These instructions were tested with the Postgres.app v9.5, v13.
70
105
71
106
You'll then need to ensure that the postgres binaries (for example, ``psql``) are in your executable search path (``$PATH`` environment variable). If you are using Postgres.app on OS X, you can do this by running the following, though you may have to replace`~/.bash_profile`with `~/.zshrc` if you're using zshell rather than the built-in bash, and you may have to change the version number `Versions/9.3/` to the exact one that you are installing:
Navigate to the cloned directory and ensure your conda environment is active:
@@ -121,12 +162,17 @@ Navigate to the cloned directory and ensure your conda environment is active:
121
162
cd qiita
122
163
source activate qiita
123
164
```
124
-
165
+
If you are using Ubuntu or a Windows Subsystem for Linux (WSL), you will need to ensure that you have a C++ compiler and that development libraries and include files for PostgreSQL are available. Type `cc` into your system to ensure that it doesn't result in `program not found`. The following commands will install a C++ compiler and `libpq-dev`:
166
+
```bash
167
+
sudo apt install gcc # alternatively, you can install clang instead
168
+
sudo apt-get install libpq-dev
169
+
```
125
170
Install Qiita (this occurs through setuptools' `setup.py` file in the qiita directory):
126
171
127
172
```bash
128
173
pip install . --no-binary redbiom
129
174
```
175
+
Note that if you get any errors or warnings with 'certifi', you can add the `--ignore-installed` tag to the command above.
130
176
131
177
At this point, Qiita will be installed and the system will start. However,
132
178
you will need to install plugins in order to process any kind of data. For a list
@@ -148,7 +194,7 @@ Move the Qiita sample configuration file to a different directory by executing:
Note that you will need to change `BASE_URL = https://localhost:8383` to `BASE_URL = https://localhost:21174` if you are not using NGINX.
197
+
Note that you will need to change `BASE_URL = https://localhost:8383` to `BASE_URL = https://localhost:21174`in the new copy of the configuration file if you are not using NGINX. Additionally, you will also need to change all URLs that start with `/home/runner/work/qiita/qiita/...` into wherever your qiita directory is (e.g. `/home/<username>/qiita/...`).
152
198
153
199
154
200
Set your `QIITA_CONFIG_FP` environment variable to point to that file (into `.bashrc` if using bash; `.zshrc` if using zshell):
@@ -162,6 +208,10 @@ Set your `QIITA_CONFIG_FP` environment variable to point to that file (into `.ba
162
208
163
209
Update paths in the newly copied configuration file to match your settings, e.g. replace /home/travis/ with your user home directory.
164
210
211
+
If you are working on WSL, you will need to start the redis server with the following command before making a test environment:
0 commit comments