Skip to content

Commit 43512de

Browse files
authored
Fix typo + add to faq
1 parent d0e3860 commit 43512de

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

docs/faq/setup.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Another option would be to try using an older backup if you have one.
6767
- Make sure your Python version is added to environment variable PATH. This is a common issue with Python installed from Microsoft Store on Windows.
6868
6969
??? tip "How to add Python to PATH"
70-
A handy guide how you set a PATH on diferent operating systems: [https://realpython.com/add-python-to-path/](https://realpython.com/add-python-to-path/){target="_blank"}.
70+
A handy guide how you set a PATH on different operating systems: [https://realpython.com/add-python-to-path/](https://realpython.com/add-python-to-path/){target="_blank"}.
7171
7272
- If you use multiple versions or have non standard configuration you can specify which version to use in :fontawesome-solid-gear: **Settings** > **System** and under Applications Paths header set **Python Executable Path**.
7373
@@ -96,4 +96,22 @@ You may use several methods to safely access Stash from outside of your home net
9696
9797
### Using an external authentication provider
9898
99-
If you are an advanced user, and have secured your Stash instance behind an authwall provided by a reverse proxy or hosting solution, you may continue to use that. You simply have to edit `.stash/config/config.yml` and set `dangerous_allow_public_without_auth` to `true`. If you have already tripped the security feature, you will also have to remove the `security_tripwire_accessed_from_public_internet` key in order to allow Stash to serve requests.
99+
If you are an advanced user, and have secured your Stash instance behind an authwall provided by a reverse proxy or hosting solution, you may continue to use that. You simply have to edit `.stash/config/config.yml` and set `dangerous_allow_public_without_auth` to `true`. If you have already tripped the security feature, you will also have to remove the `security_tripwire_accessed_from_public_internet` key in order to allow Stash to serve requests.
100+
101+
### Migrating from Windows to Unix or vice verse
102+
103+
!!! info
104+
Migrating between filesystems with different path separators (`/` and `\`) is currently unsupported.
105+
106+
!!! danger
107+
Use at your own risk. If you do this, make sure [backup](/guides/backup-and-restore-database) your database before starting.
108+
109+
It's possible to manually migrate the `folders` table using SQL.
110+
111+
The following example query would replace `\` with `/` and `D:/` with `/mnt/`.
112+
113+
=== "Example SQL query"
114+
```sql
115+
UPDATE folders SET path = REPLACE(path, '\', '/');
116+
UPDATE folders SET path = REPLACE(path, 'D:/', '/mnt/');
117+
```

0 commit comments

Comments
 (0)