Ошибка download directory path is not absolute

Cuore Sportivo

Posts: 5
Joined: Sat Mar 19, 2016 2:40 pm

Donwload directory path is not absolute

Hello everyone!

I have transmission daemon (without GUI) installed on a VM running Ubuntu 14.04, so that it acts like a torrent server. I have set as download directory at the settings.json file a network location that is mounted on the Ubuntu VM. On the rest of the local PCs, I am using Transmission Remote GUI (they are all connected to the transmission server) in order to download torrents.

Everything was working fine for about two years, until I upgraded to version 2.90. Since then I am also getting a «download directory path is not absolute» error message, making it unable for me to download torrents. A few days ago I upgraded to version 2.92, but still, the problem is present.

Is there any way to fix this issue?

Cuore Sportivo

Posts: 5
Joined: Sat Mar 19, 2016 2:40 pm

Re: Donwload directory path is not absolute

Post

by Cuore Sportivo » Thu Mar 31, 2016 12:00 pm

Hello and thanks for your help @mike.dld!
Sorry for my late reply, but I had to travel abroad and no time to visit the forum.

Could you please tell me how to specify the download directory explicitly?
I had posted the question at the exact github link you had sent me, but it seems that the discussion there has to do with another program (sickrage not transmission).

mike.dld

Transmission Developer
Posts: 305
Joined: Wed Dec 25, 2013 10:56 pm

Re: Donwload directory path is not absolute

Post

by mike.dld » Thu Mar 31, 2016 1:34 pm

Discussion there is about SickRage plugin for Transmission. The issue is exactly the same though: most probably you need to go to Transmission Remote GUI settings and make sure to explicitly specify non-empty download directory.

Cuore Sportivo

Posts: 5
Joined: Sat Mar 19, 2016 2:40 pm

Re: Donwload directory path is not absolute

Post

by Cuore Sportivo » Mon Apr 04, 2016 1:26 pm

I can’t (never could) set the download directory from Transmission Remote GUI. The only way, as far as i know, to set the download path, is from the transmission’s settings.json file, found on the OS that is running the transmission daemon.

I tried changing the directory from there, but still, the issue is still present, no matter what path I set.

mike.dld

Transmission Developer
Posts: 305
Joined: Wed Dec 25, 2013 10:56 pm

Re: Donwload directory path is not absolute

Post

by mike.dld » Mon Apr 04, 2016 2:07 pm

Just downloaded TRG 5.0.1 and tried adding torrents. I’m getting the error if I clear the «Destination folder:» field, but if I leave it as is or enter a valid path the torrent is being added just fine:

trg-add-torrent.png
trg-add-torrent.png (15.59 KiB) Viewed 18379 times

Note though that the directory should be absolute on the system where remote session is running, not there TRG is running. Path is absolute on Windows if it starts with either a disk name and a slash (i.e. local paths like C:…) or with two slashes and a letter (i.e. UNC paths like \a…). On *NIX systems the path is absolute if it starts with a forward slash (/…), which should be your case since you’re running the daemon on Ubuntu.

Hi All!
I’ve yesterday found this new version (fork of official?), installed 5.3.0.
Me too, having this annoying bug. When adding new torrent, getting the «download directory path is no absolute».

After reading whole of this thread, and messed with various attempts, I think I came to some conclusions.

My environment:
Transmission 2.92 runs on a Synology NAS in remote. Default download folder is:
/volume1/Transmission/Zene
This is set in TRG -> Tools -> Transmission Options -> Download -> Default download folder on remote host

Locally Windows 8.1 is used, and NAS is mounted locally on Z:, so that I have download folder locally here:
Z:Zene

Conclusion 1:
About path mapping in this menu:
TRG -> Tools -> Application options -> Paths
After messing with path mapping, I came to conclusion that this version of TRG has mapping order reversed compared to the official 5.0.1 version. Because in old version I had this setting, worked correctly:
Zene=/volume1/Transmission/Zene

But in this TRG, the remote path should come first, and local path should be also absolute, so this is correct:
/volume1/Transmission/Zene=Z:Zene

The correct mapping is needed, however it’s nothing to do with the error in subject, that is caused by the below issue.

Conclusion 2:
The problem is how TRG handles the transgui.ini file. The ini file is located here:
C:UsersAppDataLocalTransmission Remote GUItransgui.ini

The problem is that the «[AddTorrent.address] section is missing in INI from a clean installation.
And if that section is not exising in INI, then TRG cannot handle it when adding a torrent.
This section of the ini is added to ini file first time, only when you change the «Set data location…» on an existing torrent. After that section created, issue goes away, and adding torrent working.

How to check:
Have a clean system, i.e. no TRG installed.
Install TRG, and set folder mapping.
Copy INI file from here to somewhere else:
C:UsersAppDataLocalTransmission Remote GUItransgui.ini
In this state, you cannot add torrents due to the error.
Follow below workaround.
Then new section to ini is added, compare this new ini to the previously copied ini file.
Try addin torrents, it will work.

Workaround:
in TRG, go to any existing old torrent, select one.
Right click -> Set data location…
The existing location is pre-filled, you don’t even need to change it, just press «OK» with same folder. Or change the folder with the «Browse» button locally. For this you need the path mapping correctly.

As soon as you first changed the data location, a new section is appearing in INI file:
In my case, after added 2 kind of different labelling folders this section added:

[AddTorrent.192.168.0.245]
FolderCount=2
Folder0=/volume1/Transmission/Miko
FolHit0=12
FolExt0=
LastDt0=2016.04.15.
Folder1=/volume1/Transmission/Zene
FolHit1=2
FolExt1=
LastDt1=2016.04.15.
LastMoveDir=/volume1/Transmission/Zene
PeerLimit=50
LastDownloadDir=/volume1/Transmission/Miko
Folder2=
FolHit2=-1
FolExt2=
LastDt2=

[AddTorrent]
Width=560
Height=526

So it does have 2 last used directory there saved in ini.
After this, adding torrents works properly!

Solution needed:
TRG doesn’t handle the lack of [AddTorrent] section when adding to torrent.
I’m not a programmer, but some ways I guess:

  1. One way, I think, TRG should add this section to ini when someone makes changes in folder mapping (TRG -> Tools -> Application options -> Paths ) , or if making any changes in Settings.
  2. Or have this section added by default when creating the ini.
  3. Or, when adding a torrent, and if this section is missing, add this section and don’t put an error message.

Hopefully this helps with this wonderful app future.

ПРОБЛЕМА

При добавлении торрента через клиент Transmission Remote GUI — пишет ошибку: invalid download directory.
При этом, все работает через веб клиент или через иные клиенты.

РЕШЕНИЕ (Windows, Macos)

  1. Закрыть клиент (Transmission Remote GUI)
  2. Открыть файл настроек «transgui.ini» 

    • Windows: находится в папке установки, либо в папке пользователя.
    • Macos«/Users/username/.config/Transmission Remote GUI/transgui.ini»
  3. Изменить в нем параметр «LastDownloadDir» на верный.
    Либо полностью удалить блок настроек: [AddTorrent.Keenetic]

До:

LastDownloadDir=/tmp/mnt/01D6E20BCA4D27A0/Downloads/

После:

LastDownloadDir=/tmp/mnt/[yourdisk]/Downloads


———

Скорее всего это происходит при изменении путей дисков на роутере, а клиент — коряво работает с ними.

Сам долго мучился с этого проблемой, приходилось периодически переустанавливать клиент и то — не всегда помогало.
На форуме уже есть подобная тема, но она закрыта для ответов, по этому решил поделиться здесь данным решением.

image.thumb.png.67794e2fc865b6a173246d33fe2db64a.png


Edited March 7, 2022 by leni8ec

1: Как FTP-сервер FileZilla предоставляет доступ к нескольким каталогам?

При совместном использовании нескольких каталогов установите домашний каталог, а затем подключите все остальные каталоги к домашнему каталогу, задав псевдонимы.

Если вы этого не сделаете, появится запрос:

You have shared multiple unrelated directories.You need to assign aliases to link them together.
Double-click the alias column next to the unlinked directory.
Unlinked directory.E:

2: Как установить псевдонимы для новой версии FTP сервера FileZilla?

Щелкните правой кнопкой мыши, чтобы выбрать каталог, щелкните левой кнопкой мыши, чтобы открыть параметр Изменить псевдонимы.

При настройке псевдонима обычно есть пример выше, что означает, что вы должны использовать относительный путь при настройке псевдонима (многие в Интернете предназначены для старой версии, позвольте установить абсолютный путь, и метод тестирования недействителен для новой версии)

3. Как настроить виртуальные каталоги через псевдонимы на ftp-сервере Windows FileZilla Server для совместного использования нескольких каталогов?

Например, здесь я установил «C: Shared» в качестве домашнего каталога (Установить как домашний каталог)

Затем установите псевдоним каталога «D:» на «/ D», здесь путь относительно домашнего каталога используется при установке псевдонима, «/» означает «C: Shared »

Такой же эффект установлен и для диска E.

«

Посмотрите на эффект: введите ftp://127.0.0.1 в браузере или файловом менеджере, чтобы увидеть эффект.

Затем я также установил диск C под «C: Shared»

Посмотрите на эффект еще раз

THE ABSOLUTE BEGINNERS GUIDE TO FILEZILLA — OSTRAINING

The title of this article is The Absolute Beginners Guide to FileZilla. “Absolute Beginners Guide” ??? I say, “Absolutely NOT so!” The fact that a there are a lot of people here asking questions suggests that you need to adjust the level of your teaching accordingly. Please bear this in mind for your future articles. Trevor John (Beginner) 0. mikall. Reply to Trevor …
From ostraining.com
Author Valentin Garcia
Estimated Reading Time 7 mins


IMPORT PATH MUST BE ABSOLUTE. — FIXEXCEPTION.COM

Raise code imported = self._get_class_from_module(module) or module return self._verify_type(imported), path def _verify_import_path(self, path): if not os.path …
From fixexception.com


ON LINUX USEBLAZOR EXTENSION METHOD FAILS WITH «THE PATH MUST BE …

I’m using the FlightFinder sample for reproducing the problem. https://github.com/aspnet/samples or my fork: https://github.com/paulvanbladel/samples steps to …
From github.com


#1626 (VIRTUAL PATH FOR FILEZILLA SERVER) – FILEZILLA

A virtual path is a good attribute when using «Show relative. paths». I’m trying to use this, but when «Show relative paths». is checked I can only see my HOME DIRECTORY. With. virtual path I can set c:other to be /other or /anything in my ftp. tree. The «Resolve windows shortcuts» only works when the. link is above my home path.
From trac.filezilla-project.org


HOW TO SETUP FTP USING FILEZILLA — AMCREST

Click on Browse in the «Add an app» menu and select «FileZilla Server Interface» from the menu. Click Open when ready. The FileZilla Server Interface.exe is now added to the Windows Defender Firewall. Click on Add to proceed. Additionally, click on Browse again and add the FileZilla Server app as well to the menu. Both the interface and server …
From support.amcrest.com


ERROR: THE DIRECTORY PATH MUST BE AN ABSOLUTE PATH

Get started for free. Ask a question Quick access
From social.msdn.microsoft.com


240992 – EXCEPTION: PATH MUST BE ABSOLUTE

Bug 240992 — Exception: path must be absolute. Summary: Exception: path must be absolute Status: RESOLVED FIXED Alias: None Product: cnd Classification: Unclassified Component: Remote (show other bugs) Version: 8.0 Hardware: All All Importance: P3 normal Assignee: Vladimir Kvashin: URL: Keywords: Duplicates (1) …
From bz.apache.org


PATH MUST BE ABSOLUTE («/TMP/») . · ISSUE #596 · ATTENDIZE/ATTENDIZE

Hi ,I am on windows 10 and I am using XAMPP.But When i try to checkout or download tickets on attendize ,I am getting this error : Error message. Path must be …
From github.com


FILEZILLA PATH MUST BE ABSOLUTE [HOW TO SOLVE] | DEBUGAH

The FileZilla server is downloaded. When setting the FTP directory, the software reports path must be absolute When setting the FTP directory, the software reports path must be absolute I have set the absolute path F:UsersAdministratorPycharmProjectspython_switchops
From debugah.com


FILEZILLA FTPS TUTORIAL — UNIVERSITY OF MASSACHUSETTS LOWELL

FileZilla FTPS Tutorial FileZilla is a File Transfer Protocol program available for free. Installing FileZilla 1. Follow this link to download FileZilla. 2. Select «save this file to disk» option when download window opens. 3. Save this file to your desktop. *** If you don’t have option to choose where to save the download then the file will be located in the computer’s downloads folder. 4 …
From gps.uml.edu


HOW TO FIND AN UPLOADED FILE PATH ON A “000WEBHOST” WEB HOST

Answer: Go to your account and find the ftp login details. sometimes these are similar to your username and password, sometimes different. Download any FTP server uploader client. Preferably filezilla. and upload your site to your home directory. alternatively you can also use premium hostin…
From quora.com


HOW TO SETUP FTP SERVER WITH FILEZILLA SERVER SOFTWARE.

Additionally, you can use the Add a Network Location wizard, to add a shortcut to the FTP Shared folder into your Windows Explorer. To do that: 1. Open Windows Explorer. 2. Right click on a blank area and choose Add network location.. 3. Click Next twice and, at the following screen, type the IP Address and the port number of your FTP Server. Click Next when done.
From wintips.org


FILEZILLA — THE FREE FTP SOLUTION

Welcome to the homepage of FileZilla®, the free FTP solution. The FileZilla Client not only supports FTP, but also FTP over TLS (FTPS) and SFTP. It is open source software distributed free of charge under the terms of the GNU General Public License. We are also offering FileZilla Pro, with additional protocol support for WebDAV, Amazon S3 …
From filezilla-project.org


FAQ — FILEZILLA WIKI

Mount point paths, both the virtual and native ones, must be entered in a specific format. To learn more about that format, The native path is a local file path, the virtual path is the path that the FTP users will see and it is mapped to the native path by FileZilla Server. To add a mount point click on the Add button and enter a virtual path (eg. ) and a native path (eg, …
From wiki.filezilla-project.org


WHAT IS THE DIFFERENCE BETWEEN A RELATIVE AND ABSOLUTE …

In the example above, the absolute path contains the full path to the cgi-bin directory on that computer. The relative path begins with a dot ( period ), representing the current directory (also called the «working directory»). The relative path ./public_html/cgi-bin is valid only if the current directory contains a path named public_html which …
From computerhope.com


GET ABSOLUTE PATH OF FILE IN C# FROM FILE NAME — STACK …

If you know that the file is located in your Desktop, you can instead do something like this : string fullFilePath = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Desktop, filename)); Share. Improve this answer. Follow this answer to receive notifications. edited Dec 18, 2019 at 10:47.
From stackoverflow.com


FILEZILLA FORUMS — GENERAL

General Discussion. Come here to discuss FileZilla and FTP in general. Moderator: Project members. 7022 Topics. 25348 Posts. Last post Re: Error: Failed to retrieve…. by boco 2022-04-12 08:11. FileZilla Client Support. Need help with FileZilla Client?
From forum.filezilla-project.org


ABSOLUTE PATH OF A REMOTE FILE OR DIRECTORY ON AN SFTP …

There are two types of paths we mainly use that is: Absolute Path — This means we refer to the complete details to locate the file or directory. In this, we start from the root element and ending with other subdirectories. We often used this path in web and OS (operating systems) to locate files and folders.
From componentpro.com


JAVASCRIPT — HEROKU TYPEERROR: PATH MUST BE ABSOLUTE OR SPECIFY …

Find centralized, trusted content and collaborate around the technologies you use most. Learn more
From stackoverflow.com


[83] HOW TO FIND THE ABSOLUTE PATH | LATEST | NEWS

Here is what you can use for the php script to find the absolute path: <?php echo __FILE__; ?> Save the above file as findpath.php. It is important that you use ‘.php’ (without the quotes) in the file name as you are making a php script file. You now need to upload this file to your web server.
From joejoomla.com


RELATIVE AND ABSOLUTE PATHS, IN THE FILE SYSTEM AND ON THE WEB SERVER.

The difference between absolute and relative paths. It’s fairly simple. If the path is built starting from the system root, it is called absolute. If the path is built starting from the current location, it is called relative (which makes sense, as it is relative to our present position) It’s exactly the same as with the real life directions.
From phpdelusions.net


NODE.JS TYPEERROR: PATH MUST BE ABSOLUTE OR SPECIFY ROOT TO RES …

node.js TypeError: path must be absolute or specify root to res.sendFile [failed to parse JSON] Close. Vote. Posted by 9 minutes ago. node.js TypeError: path must be absolute or specify root to res.sendFile [failed to parse JSON] Javascript [add]So my next problem is that when i try adding a new dependence (npm install —save socket.io). The JSON file is also valid. I get this …
From reddit.com


HOW TO FORM FTP URL USING ABSOLUTE PATH FOR FILEZILLA …

First add a fake root/home folder and point it to some empty physical path (say C:empty) and set the folder read-only. Then add virtual path /X: for each X: drive you want to make accessible (though using simple /X might be better, some FTP clients may not like the colon). And now you can use an FTP path like the /X/foo/bar (or the URL ftp …
From superuser.com


NODE.JS TYPEERROR: PATH MUST BE ABSOLUTE OR SPECIFY ROOT TO RES …

The best answers to the question “node.js TypeError: path must be absolute or specify root to res.sendFile [failed to parse JSON]” in the category Dev. QUESTION: [add] So my next problem is that when i try adding a new dependence (npm install –save socket.io). The JSON file is also valid. I get this error: Failed to parse json . npm ERR! Unexpected string npm ERR! File: …
From rotadev.com


FILEZILLA SERVER SUPPORT — FILEZILLA FORUMS

Need help with FileZilla Server?Something does not work as expected? In this forum you may find an answer.
From forum.filezilla-project.org


FILESYSTEMOBJECT — GET ABSOLUTE PATH EXCEL VBA — ANALYST CAVE

A path that you want to convert to unambiguous file and folder. VBA GetAbsolutePathName Examples Set fso = CreateObject(«Scripting.FileSystemObject») fso.GetAbsolutePathName( «Src» ) ‘Result: «C:Src» fso.GetAbsolutePathName( «C:..Somefolder*» ) ‘Result: «C:SrcSomefolder» Download VBA Time Saver . Ready VBA Code snippets for Arrays, Strings, File Dialogs, …
From analystcave.com


WWW.REGENTWHOLESALE.CO.UK

www.regentwholesale.co.uk
From regentwholesale.co.uk


NODE: TYPEERROR – PATH MUST BE ABSOLUTE – JBCEDGE

Considering the best approach is specifying the root path. When passing the user-generated file path which could possibly contain malformed or malicious parts such as ../../../etc/mms. Setting the root path will prevent path from being access outside the base path. In the extreme case if you trust the path then path.resolve will be an option
From jbcedge.com


WHAT IS FILEZILLA PATH MUST BE ABSOLUTE AND HOW TO FIX EASILY

Left column is the absolute, Unix-style FTP path, right column is an absolute native path on the server machine. For example if you want to e.g. share c:exampledirectory and make it appear under /example/, put /example/ into the left column and c:exampledirectory in the right. UNC paths support is planned and will be implemented in one of …
From quocte.net


PHP_CODESNIFFER: [INVALIDARGUMENTEXCEPTION] $FROM …

@neoplomero:. You are responding to a thread which is over three years old. Aside from one person, nobody has reported similar issues in the past three years.
From gitmotion.com


INVALID VOLUME SPECIFICATION , INVALID MOUNT PATH: ‘SRC’ MOUNT PATH …

ERROR: for app Cannot create container for service app: invalid volume specification: ‘6b8e789c314ecd609de9b3d586023f5cc7b9a0794c83be85783ea80423982967:src:rw …
From dockerquestions.com


FileZilla

Если вы управляете Windows Server и вам нужен способ передачи файлов, вам, возможно, придется прибегнуть к использованию FTP, и лучший способ сделать это — FileZilla Server. Вот как это сделать.

FileZilla является программным обеспечением с открытым исходным кодом, которое доступно бесплатно под лицензией GNU General Public License. FileZilla Server — это компонент размещения сервера, который поддерживает как FTP, так и FTPS, а FileZilla Client — это приложение для использования FTP и подключения к FTP-серверам. Стоит отметить, что FileZilla Server отлично работает и в Windows 10, но это, вероятно, менее распространенное использование.

Чтобы начать настройку нового FTP-хоста, войдите на свой сервер и загрузите FileZilla Server для Windows.

Чтобы начать установку, запустите установщик FileZilla Server от имени пользователя-администратора на вашем сервере. Для этой части процесса нет никаких специальных конфигураций или изменений, которые необходимо внести во время установки. Вы можете оставить все настройки по умолчанию и завершить установку.

Настройки по умолчанию позволяют серверу FileZilla работать, если какой-либо пользователь войдет в систему и продолжит работу сервера как службы. Таким образом, даже если вы выйдете из системы, FTP-сервер продолжит работать.

После завершения установки откройте FileZilla Server, если он не открывался автоматически.

Настройка FileZilla Server

Первое, что вы увидите, когда откроете интерфейс FileZilla Server, — это логин. Поскольку мы еще не установили пароль и оставили наш административный порт как есть, вы можете просто выбрать Connect войти на сервер с конца администрирования.

Установка административного пароля и порта

Чтобы установить пароль, используемый для управления FileZilla Server, перейдем к редактировать > настройки в верхнем меню навигации.

В нашем меню настроек найдите Настройки интерфейса администратора слева.

Эта страница настроек дает нам возможность установить административный пароль и порт, который прослушивает интерфейс localhost, поэтому с портом все в порядке, если он не конфликтует с каким-либо другим приложением, которое вы используете.

Однако вы можете захотеть быть единственным пользователем, который может управлять FTP-сервером и создавать пользователей. Если это так, установите пароль администратора в этом месте. Минимальная длина пароля составляет 6 символов, и ее можно вернуть к пустому паролю, оставив поле пустым, что, вероятно, нецелесообразно.

Защита FileZilla Server и транзакций

FTP является небезопасным протоколом, который использует обычный текст через стандартный порт, поэтому первое, что мы собираемся сделать, — это внести некоторые изменения, чтобы немного его заблокировать.

Настройка неясного порта для использования по FTP

Первым шагом является изменение стандартного FTP-порта с 21 на более неясный, чтобы атакующие боты не могли сканировать так же легко. Смена порта не означает, что они не найдут или не смогут найти сервер, это лишь уменьшит вероятность его атаки.

Для этого перейдите к редактировать > настройки меню. Страница, которую мы ищем, общие настройки, будет загружена страница по умолчанию.

Чтобы изменить прослушивающий порт по умолчанию (21), вы можете изменить это поле и изменить его на другой открытый порт на вашем сервере. Хотя мы не можем определить, какие порты доступны для вас, найдите порт высокого уровня, свободный для вашего использования, и назначьте его здесь. Когда вы сохраните изменения, служба FTP автоматически перезапустится и ваш порт будет обновлен.

Настройка FTP через TLS (FTPS)

Использование FTPS является наиболее эффективным способом защиты вашего FTP-сервера. По умолчанию FTP оставляет все данные и транзакции в текстовом формате, который легко перехватывается пользователями с доступом к сети. Имя пользователя, пароль и передаваемые данные могут быть легко скомпрометированы без настройки защищенного FTP через TLS.

Чтобы зашифровать FileZilla, перейдите к редактировать > настройки > Настройки FTP через TLS,

Сначала установите флажок «Включить поддержку FTP через TLS (FTPS)», как показано на рисунке выше. Это включает поддержку TLS, но все еще нуждается в настройке. Было бы целесообразно также выбрать опцию «Запретить незашифрованный FTP», если вы можете.

Вы также можете изменить порт на нечто нестандартное, что может быть разумным решением, если вы уже изменили обычный порт FTP. Опять же, он на самом деле не защитит вас, но это делает ботов меньше неприятностей.

Чтобы использовать FTPS, нам нужен SSL-сертификат для шифрования связи. Если у вас есть сертификат SSL, вы можете назначить этот сертификат здесь.

Если у вас еще нет открытого сертификата, FileZilla Server позволяет нам создать самозаверяющий сертификат прямо через меню настроек. Для начала нажмите кнопку «Создать новый сертификат».

Заполните форму так же, как и любую другую форму сертификата SSL, убедившись, что в качестве общего имени для сертификата используется адрес вашего FTP-сервера. Это предполагает, что домен настроен на том же сервере, что и FTP-сервер, и, вероятно, тот же IP-адрес.

Заполнив эту информацию, создайте сертификат. Выберите созданный файл для закрытого ключа и файла сертификата. При необходимости добавьте ключевой пароль.

Запишите обновленные номера портов, так как они понадобятся нам для создания правил брандмауэра, чтобы разрешить удаленный доступ к нашему FTP-серверу.

Если ваш брандмауэр настроен правильно, ваш FTP-сервер еще не должен быть доступен для общественности. Чтобы разрешить удаленный доступ, нам придется вручную добавлять правила и исключения брандмауэров для наших портов.

Для этого откройте Брандмауэр Windows в режиме повышенной безопасности приложение на вашем сервере и перейдите к правилам входящих.

Создать Новое правило и выберите порт как тип правила.

На следующем шаге добавьте порты, которые вы установили для FTP и FTPS. В приведенном ниже примере настроены порты по умолчанию 21 и 990. Обновите их, чтобы они соответствовали портам, которые вы настроили ранее.

Идите дальше и нажмите «Далее» в остальных меню и назовите правило брандмауэра. Выбрать финиш создать наше новое правило.

Наш FTP-сервер теперь должен быть доступен удаленно с любого компьютера, которому разрешено подключаться к серверу. На некоторых серверах может потребоваться сделать исключение брандмауэра для самой программы FileZilla. Это будет зависеть от настроек и настроек вашего сервера, но стоит обратить внимание на случай, если у вас возникнут проблемы с удаленным доступом к вашему серверу.

Однако, прежде чем мы сможем войти в систему и протестировать это, мы должны создать пользователя FTP и предоставить общий доступ к папке для FTP.

Создание пользователей, назначение групп и общий доступ к папкам

Прежде чем мы сможем войти на наш сервер, мы должны создать пользователя и группу для FTP и указать, к каким папкам этот пользователь должен иметь доступ. Для начала откройте редактировать > группы из интерфейса сервера FileZilla.

Давайте создадим группу, нажав кнопку «Добавить» и назвав нашу группу. Я установил произвольное имя FTP Users в качестве нашей группы.

Как только это установлено, перейдите к Общие папки на левой стороне группы меню.

В меню Добавить нужную папку для пользователей FTP. Для нашего использования мы хотим, чтобы наш единственный пользователь и группа имели доступ ко всему C: Inetpub папки.

В приведенном выше примере мы не предоставили права на запись или удаление, а также на создание и удаление каталогов. Если это желаемое разрешение, которым оно будет в большинстве случаев, проверьте Напишите и удалять флажки под файлы так же хорошо как Создайте и удалять флажки под Справочники,

Как только это будет сделано, нажмите ОК.

Теперь давайте создадим нашего пользователя FTP и назначим его нашей группе. Для этого перейдите к редактировать > пользователей в интерфейсе сервера FileZilla и добавлять новый пользователь.

Назовите своего пользователя и назначьте его нашему Пользователи FTP группу, которую мы только что создали, и нажмите кнопку ОК.

Теперь мы должны установить пароль для нашего пользователя. Для этого установите флажок пароля и введите нужный пароль! Легко!

Нажмите ОК.

Поздравляем! Вы создали защищенный FTP-сервер с FileZilla Server!

Теперь вы сможете подключаться по FTP к вашему серверу с другого компьютера и входить в систему с использованием имени пользователя и пароля, которые мы установили в этом руководстве. Если вы работаете по FTP через TLS, мы можем подключиться к нашему серверу с помощью FTPS, чтобы использовать шифрование.

FileZilla Server упрощает развертывание FTP-серверов, а его простой интерфейс упрощает управление пользователями и службами FTP. Несмотря на то, что FileZilla Server обладает множеством других функций, они являются наиболее важными для настройки и защиты нового сервера, поэтому необходимо выполнить большое количество испытаний, чтобы обеспечить конечным пользователям услуги наивысшего качества.

  • #1

So I’m trying to set up a Sickrage/Couchpotato/Transmission system to automatically download torrents, but Transmission won’t let me select the download directory, and whenever I try to do it in the WebUI, it won’t save my changes. I’ve also tried changing it in the shell but all of the config documents I’ve tried have come up blank in vi/edit. I’ve tried reinstalling it but that hasn’t worked either. I will post screenshots, if anybody has any suggestions, that would be great.

What it’s supposed to look like: http://i.imgur.com/IpzUow0.png
What mine looks like (tried using script torrent done as download): http://i.imgur.com/HrArH7W.png

  • #2

Hi!
1. — Transmission download torrents don’t work. Since I upgraded Transmission 2.84 to Transmission 2.92 it didn’t work. When I select torrent file in the WebUI, I get an error message: download directory path is not absolute!
The watch directory path: /media/video, it worked correctly, but now only the uploads operate. I don’t understand what happened.
2. — If I change the permission of Transmission directory (/mnt/volume/jails/transmission_1), then the Transmission automatically switch off. When I change the permission of Transmission directory back to 755, the Transmission runs again. The uploads work again, but downloads still don’t work.
Please help!

  • #3

this setting is available in the transmission webui, labeled «Download to»
it’s also available if you access transmission from the remote cli or application.

  • #4

Hi!
1. — Transmission download torrents don’t work. Since I upgraded Transmission 2.84 to Transmission 2.92 it didn’t work. When I select torrent file in the WebUI, I get an error message: download directory path is not absolute!
The watch directory path: /media/video, it worked correctly, but now only the uploads operate. I don’t understand what happened.
2. — If I change the permission of Transmission directory (/mnt/volume/jails/transmission_1), then the Transmission automatically switch off. When I change the permission of Transmission directory back to 755, the Transmission runs again. The uploads work again, but downloads still don’t work.
Please help!

never change the permissions of a jail dataset, that will brake the jail.

what did you set your download directory to?

  • #5

this setting is available in the transmission webui, labeled «Download to»
it’s also available if you access transmission from the remote cli or application.

Yes, I know, but as I stated in my original post, those settings are overridden when you change transmission settings in the FreeNAS WebUI, they are changed back to the defaults when you press «OK», I have found that I can make it work by clicking «Cancel» to exit the menu instead of «OK»

  • #6

Yes, I know, but as I stated in my original post, those settings are overridden when you change transmission settings in the FreeNAS WebUI, they are changed back to the defaults when you press «OK», I have found that I can make it work by clicking «Cancel» to exit the menu instead of «OK»

because they are know to transmission but of yet commuted to disk. start and stop transmission after changing settings through transmission and they’ll be committed to disk.

  • #7

because they are know to transmission but of yet commuted to disk. start and stop transmission after changing settings through transmission and they’ll be committed to disk.

Thank you for that tip, it seems to have now saved my settings so that transmission will download to the correct download directory

  • #8

Thank you for that tip, it seems to have now saved my settings so that transmission will download to the correct download directory

sweet, glad it worked


Go to sonarr


r/sonarr

Sonarr is a PVR for Usenet and BitTorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will interface with clients and indexers to grab, sort, and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.




Members





Online



download path not absolute using Transmission

Hey guys as stated I am using Transmission and I wonder what I did wrong because I get the «download directory path not absolute» issue. Thing is it works fine with radarr but not sonarr. Does somebody know why? I can’t go step by step but I tried to du everything same same between the two. What does that even mean?

Archived post. New comments cannot be posted and votes cannot be cast.


0

1

Здравствуйте.

Ubuntu 16.04

Написал скрипт, запуск которого захотелось настроить через systemd, так как скрипт, в принципе, должен запускаться ручками каждый раз при включении ноута.

Сам сервис такого вида:

[Unit]
Description=service-name
After=multi-user.target

[Service]
Type=simple
EnvironmentFile=~/.config/systemd/user/default/service-name
ExecStart=/bin/bash ~/${SCRIPT_DIR}/script.sh 
TimeoutSec=10

[Install]
WantedBy=default.target

EnvironmentFile достаточно простой:

DISPLAY=:0
SCRIPT_DIR="path/to/dir"

Понятное дело, systemd шлет меня лесом, выдавая

[/home/user/.config/systemd/user/service-name.service:7] Path '~/.config/systemd/user/default/service-name' is not absolute, ignoring.

Нет ли какого-либо адекватного способа реализовать все именно так? Или же так вообще лучше не делать?
Возможно, я заблуждаюсь и так делать вообще не стоит, но я решил, что это будет логичнее, так как сервис все равно запускается от пользователя, хотелось бы не зависеть от конкретного имени пользователя.

За любые советы/замечания заранее благодарен.

Иконка Transmission Remote GUI

История версий и изменений программы Transmission Remote GUI

5.4.0 (10.08.2016)

  • исправлена проблема с форматом даты;
  • исправлена ошибка «Download directory path is not absolute»;
  • добавлена возможность изменять размер панели инструментов правой кнопкой мыши.

5.1.0 (07.05.2015)

  • новые правила для автоматического скачивания каталогов (возможность задавать специальный шаблон для каждого каталога, например, по расширению файлов: .avi или .mpg).

5.0.4 (28.03.2015)

  • изменения в опции «неактивный» (торрент) — торренты со статусом «Остановлен» и «Готово» теперь не считаются неактивными.

5.01 (05.12.2014)

  • добавлены OpenSSL файлы в инсталлятор Windows;
  • деактивировано поле «Save as» при добавлении магнет-ссылки;
  • исправлено неверное чередование цветов при сортировке списка файлов по любой колонке кроме колонки имени файла.

Hi,

I installed via gem. Relevant info:

$ ruby -v
ruby 2.3.3p222 (2016-11-21) [arm-linux-gnueabihf]

and

$ transmission-rss -v
0.2.6

My config file:

feeds:
  - url: http://showrss.info/user/00000.rss?magnets=true&namespaces=true&name=null&quality=null&re=null

update_interval: 600

add_paused: false

server:
        host: localhost
        port: 9091
        rpc_path: /transmission/rpc

login:
        username: transmission
        password: transmission

log:
        target: /var/log/transmission/transmissiond-rss.log
        level: debug

#privileges:
#        user: nobody
#        group: nobody

client:
        timeout: 5

fork: false

pid_file: false

seen_file: /var/log/transmission/seen

Every time there is a new item in the feed I see this message when launching $ sudo systemctl status transmission-rss:

Aug 07 06:08:06 raspberrypi transmission-rss[16524]: 1533618486(debug) on_new_item event magnet:?xt=urn:btih:2C37BD1C9104F7519DE55480F51E06F005B2DBD3&dn=Elementary+S06E12+720p+HDTV+x26
Aug 07 06:08:06 raspberrypi transmission-rss[16524]: 1533618486(debug) request localhost:9091
Aug 07 06:08:06 raspberrypi transmission-rss[16524]: 1533618486(debug) got session id 8KS7gG8uPJ3S9VzvnrC6cZCTKpoe6ySE4hs2qhh3aN5m94Ex
Aug 07 06:08:06 raspberrypi transmission-rss[16524]: 1533618486(debug) request localhost:9091
Aug 07 06:08:06 raspberrypi transmission-rss[16524]: 1533618486(debug) torrent-add result: download directory path is not absolute

I can add new torrents or magnet urls via web interface without gettint the issue about the download directory path, which is properly defined in /etc/transmission-daemon/settings.json:

"download-dir": "/media/storage/downloads/",

Please note that if I uncomment the option «privileges» in the config file it only works with user «root» otherwise I get:

Aug 07 06:06:10 raspberrypi transmission-rss[16436]: 1533618370(debug) version 0.2.6
Aug 07 06:06:10 raspberrypi transmission-rss[16436]: 1533618370(debug) {"feeds"=>[{"url"=>"http://showrss.info/user/36672.rss?magnets=true&namespaces=true&name=null&quality=null&re=nul
Aug 07 06:06:10 raspberrypi transmission-rss[16436]: /var/lib/gems/2.3.0/gems/transmission-rss-0.2.6/bin/transmission-rss:119:in `getgrnam': can't find group for nobody (ArgumentError)
Aug 07 06:06:10 raspberrypi transmission-rss[16436]:         from /var/lib/gems/2.3.0/gems/transmission-rss-0.2.6/bin/transmission-rss:119:in `<top (required)>'
Aug 07 06:06:10 raspberrypi transmission-rss[16436]:         from /usr/local/bin/transmission-rss:22:in `load'
Aug 07 06:06:10 raspberrypi transmission-rss[16436]:         from /usr/local/bin/transmission-rss:22:in `<main>'
Aug 07 06:06:10 raspberrypi systemd[1]: transmission-rss.service: Control process exited, code=exited status=1
Aug 07 06:06:10 raspberrypi systemd[1]: Failed to start Transmission RSS daemon..
Aug 07 06:06:10 raspberrypi systemd[1]: transmission-rss.service: Unit entered failed state.
Aug 07 06:06:10 raspberrypi systemd[1]: transmission-rss.service: Failed with result 'exit-code'.

Also, even if I specified the log file path, the file is not created.

  • Summary

  • Files

  • Reviews

  • Support

  • Wiki

  • Tickets

  • Discussion

Menu


  • Create Topic


  • Stats Graph

Forums

  • General Discussion
    72

  • Enhancements
    1

  • NSLU2 and Optware-ng
    1

  • Transmission Remote GUI
    4

  • Updates
    10

Help

  • Formatting Help

New version bugs


Created:

2015-02-21

Updated:

2015-05-21

  • xnor

    I decided to upgrade from an old version to the latest 2015-02 version and downloads don’t work anymore.

    The log says «..» is not a valid download directory, nor is «../» or «./..» or even absolute paths.

    It also crashes and creates a stackdump when the daemon is stopped with Ctrl-C.

  • cfp p2p

    I think something went wrong when you install, bad download or extraction.

    You state:
    The log says «..» is not a valid download directory, nor is «../» or «./..» or even absolute paths

    would be if you specify those types of paths like «..» «../» ect. allow directory traversal and are a security risk if you were actually using that anywhere in your paths. The changes for this took place Oct 27, 2014
    https://github.com/cfpp2p/transmission/commit/dbf86291f6f0cbd52303bf56f0d00116c3c5fe85

    and have been in all the releases since 20141031

    Try download and install again and you really can’t and should not use double dot directories or similar, but you are saying nothing is allowed and a stackdump. Looks weird.

    I really want to help so let me know.

  • xnor

    Why are relative paths not allowed?
    So what should the path look like? «C:PathtoDownload» or use double backslashes? «C:/Path/to/Download»? «/c/Path/to/Download» (msys style)? «/cygdrive/c/Path/to/Download» (cygwin style)?

     

    Last edit: xnor 2015-02-21

  • xnor

    Also, run: transmission-daemon.exe -f —pid-file transmission-daemon.pid
    Wait a bit, then press Ctrl-C:

    1 [unknown (0xFE0)] transmission-daemon 1444 open_stackdumpfile: Dumping stack trace to transmission-daemon.exe.stackdump

  • xnor

    Another problem:
    Run: transmission-remote —blocklist-update
    Result:
    Error: gotNewBlocklist: http error 0: No Response

     

    Last edit: xnor 2015-02-21

  • xnor

    I have all my stuff on D: and paths set to D:\Path\to\Download and whenever I start transmission-daemon it creates a folder named «D» (that is a D and a dot in explorer) inside %HOME%.

     

    Last edit: xnor 2015-02-21

  • cfp p2p

    Why are relative paths not allowed?
    https://trac.transmissionbt.com/ticket/5517
    https://trac.transmissionbt.com/ticket/5802
    This turned into a political discussion and I don’t need that here. Please take issues with that to the above tickets :)

    So what should the path look like?
    «download-dir»: «/_trs-win-dwnlds»,
    «incomplete-dir»: «h:/trs-WIN-dwnlds»,

    Also, run: transmission-daemon.exe -f —pid-file transmission-daemon.pid
    Wait a bit, then press Ctrl-C:
    Why are you running the daemon in the foreground «-f» ? I only use this for deeplog debugging and the like and it works. Use something like
    transmission-remote localhost:9091 -n user:passwd —exit
    or
    transmission-remote -n user:passwd —exit
    to shut it down properly rather than a hard shutdown

    set HOME=%cd%
    set TRANSMISSION_WEB_HOME=%cd%web
    transmission-daemon —pid-file transmission-daemon.pid

    see this post for run as service https://sourceforge.net/p/transmissiondaemon/discussion/general/thread/e0095f5c/

    Run: transmission-remote —blocklist-update
    settings.json —> «blocklist-url»: «http://exampleblocklist.com/level1.gz»,

    j:Transmission-WIN-srstransmission-WSB>transmission-remote -n user:pass —blocklist-update
    localhost:9091/transmission/rpc/ responded: «success»

    j:Transmission-WIN-srstransmission-WSB>

    works for me. might be firewall or other network issues.

    a folder named «D»
    that’s not a problem, you’ll get that for download, incomplete ect. Ignore.

  • xnor

    Path: OK

    Foreground: I run in foreground with -L debug only to check for errors. The CTRL-C crash might be an upstream problem. Nothing to worry about.

    Blocklist: The update does not work. I always get this error message:
    Error: gotNewBlocklist: http error 0: No Response

    I get the same error message with transgui. My settings:
    «blocklist-enabled»: true,
    «blocklist-url»: «http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz»,
    «blocklist-webseeds»: false,

    I tested disabling firewall — no change. The URL works in my browser.

  • xnor

    With the new path settings I do not get errors anymore, but torrents are not downloading at all.
    0/X sees, 0/Y peers.

    transmission-daemon does not start downloading.

  • xnor

    Okay peer-limit got somehow reset to 0 which does not mean unlimited but zero. I increased these values and now downloads work.

    Blocklist still does not work though.

  • xnor

    The «D» folder is recreated every time I use «set data location…» to D:/Download for a torrent.

    A «C» folder is created if I set the path to C:/

    This seems like a bug.

  • cfp p2p

    I tested disabling firewall — no change. The URL works in my browser.
    I tried the url you provided and got a sucsessful update to 227940 entries. There are plenty of answers to networking problems like this for blocklists I believe on the regular transmission forums and also examples of the http error 0.
    https://forum.transmissionbt.com/viewtopic.php?f=2&t=16034&hilit=http+error+0%3A+No+Response#p68608

    It’s a network problem, windows is quirky, try reboot and lock out your firewall so it wont load at all during the reboot. Many virus scanners do more than you might think creating network problems. Are you using a virus scanner? Are you behind a proxy, use a VPN, tor network ? I don’t really know. since you say downloads are ok, but what about trackers http or udp or any issues there. I’ll try and help and a little more information as you can get it should eventually fix it. In the mean time you can use your browser to get the file, extract it into transmission’s blocklist directory and restart the daemon.

    A «C» folder is created if I set the path to C:/
    is because I allowed point 1. of
    https://trac.transmissionbt.com/ticket/5825#comment:1
    to allow the directories like «download-dir»: «/_trs-win-dwnlds»,

    «because user wouldn’t (and shouldn’t) know current working directory of transmission process handling those paths»

    https://trac.transmissionbt.com/attachment/ticket/5825/5825-tr_sys_path_is_relative.patch

    as it made a nice way to specify relative to the transmission instalation without having to add the whole path. It is OK since transmission itself and the user are «trusted sources» . It doesn’t allow access to anything like the root of C or anything else. It’s just a work around and cygwin permission situation that I allowed for. I don’t know of any any issues with this.

     

    Last edit: cfp p2p 2015-02-21

  • xnor

    I found out what caused the «http error 0» error:
    «bind-address-ipv6» was set to ::1

    transmission-daemon-cygwin does not seem to support IPv6 anyway, at least it is not binding to any IPv6 sockets on my system, so I don’t know why this prevented it from downloading the blocklist.

    I also do not understand why path checks causes directories with weird names to get created inside the application directory.
    The only place transmission-daemon should write to is the config dir and temp/download dirs.

     

    Last edit: xnor 2015-02-22

  • cfp p2p

    I hope that you’ve got everything working to your satisfaction.

    «I also do not understand why path checks causes directories with weird names»
    It’s not the path check creating the directory it is part of the cygwin.dll that allows posix

    «Cygwin can’t fix this, but it has a method to workaround this restriction. All of the above characters, except for the backslash, are converted to special UNICODE characters in the range 0xf000 to 0xf0ff (the «Private use area») when creating or accessing files.»
    https://cygwin.com/cygwin-ug-net/using-specialnames.html

    If you use «h:trs-WIN-dwnlds» instead of «h:/trs-WIN-dwnlds» or C: instead of C:/ then it wont happen to get that directory you are calling weird. It’s actually not weird or random but very specific to allow the posix and that’s what I decided to allow. Also
    https://sourceforge.net/p/transmissiondaemon/discussion/general/thread/8964ad7d/
    and
    https://sourceforge.net/p/transmissiondaemon/discussion/general/thread/ce8eff2e/

    I don’t know if I can explain it any better than that.

    I try to provide a port to windows that has the most versatility, useful enhancements and usability of all the Windows ports. Streaming, temporary pieces for unwanted files, advanced blocklisting including DHT, webseeds, superior stability without hangs, crashes and a local or remote GUI that includes access to all the advanced functions, to name a few.

  • xnor

    One restart later and peer-limit-global was again reset to 0. Do I have to make settings.json read-only to prevent something from messing with it?

    I’ve noticed that .stackdumps are also created if I run the daemon in background (just —pid-file as argument) and shut it down gracefully with: transmission-remote.exe —exit

    Regarding paths:
    I am not talking about special characters in file names, but normal paths.
    I didn’t even use any backslashes () in my latest test.
    The path looked like this: D:/temp/downloads
    That is it. This should in turn be converted to /cygdrive/d/temp/downloads I guess (see cygpath utility). No special characters anywhere.

    I think I circumvented the «bug» by directly using /cygdrive paths. This works even with transgui if mapping «/cygdrive/d=D:». No more weird «•» directories where there should be none.

    I now understand what you meant earlier with:
    «download-dir»: «/_trs-win-dwnlds»,
    Root refers to the directory above HOME, so «/transmission» would be the application directory. Root alone fails but «/transmission» or another parallel directory works. I’m not using that.

     

    Last edit: xnor 2015-02-22

  • cfp p2p

    One restart later and peer-limit-global was again reset to 0. Do I have to make settings.json read-only to prevent something from messing with it?
    With the daemon shutdown edit the settings.json, then restart the daemon.

    «Note: The client should be closed before making changes, otherwise settings will be reverted to it’s previous state.» https://trac.transmissionbt.com/wiki/EditConfigFiles

    If you’re changing with the GUI you’ll need a graceful shutdown else it will revert. Shutting down windows does not graceful shutdown. You must do it manually.

    The path looked like this: D:/temp/downloads
    This will produce the D{} directory. You’ll need to start at least one real download that gets some data then stop it. The D{} directory is produced and the D:/temp/downloads directory if it’s not already there. Then the shutdown will be without stackdump from this situation. It’s not pretty but it is a «works for me» situation that doesn’t cause me enough issue to want to fix it. Then we’ve got all the necessaries to use the «/» without problems on shutdown.

     

    Last edit: cfp p2p 2015-02-22

  • xnor

    I know that the daemon will overwrite settings. Changes might have indeed been lost due to a crash.

    But why does access to an absolute Windows path without special characters cause a new folder with weird name to be created inside the application directory?
    And why does it crash?

    • cfp p2p

  • cfp p2p

    But why does access to an absolute Windows path without special characters cause a new folder with weird name to be created inside the application directory?
    I can’t explain it any better than I already have: https://sourceforge.net/p/transmissiondaemon/discussion/general/thread/c88e1d93/#09d2

    It’s not a weird or random name, its completely specific. I wont be following up on this again. I’ve provided all the support I can here.

    And why does it crash? I’m assuming your still referring to the crash that you are experiencing on shutdown. For example: D:/temp/downloads needs the cygwin and transmission together need the D{} and also the referenced directory D:/temp/downloads both to exist at shutdown. If not the shutdown crash happens. I’m not going to block directory specification with a «/» in them just to stop a shutdown crash just because the user isn’t willing to allow the D{} to exist inside the application simultaneously with the D:/temp/downloads directory. The benefits far outweigh. I will not be researching the intricacies of the cygwin posix implementation for «» and «/». Linux will allow «» as an actual character whereas windows treats it as a separator. How this all pans out and the influence of all the details on each other is not something I will respond to any further. I provided plenty of support.

  • cfp p2p

    To exactly clarify my own statement above:
    It’s not a weird or random name, its completely specific.
    and that specifically is 0xF03A which is the colon character and in the aforementioned.

    «Cygwin can’t fix this, but it has a method to workaround this restriction. All of the above characters, except for the backslash, are converted to special UNICODE characters in the range 0xf000 to 0xf0ff (the «Private use area») when creating or accessing files.»
    https://cygwin.com/cygwin-ug-net/using-specialnames.html

  • george gray

  • cfp p2p


Log in to post a comment.

Понравилась статья? Поделить с друзьями:
  • Ошибка double nat
  • Ошибка doors samsung
  • Ошибка doors roblox
  • Ошибка doorhan ворота doorhan
  • Ошибка door на стиральной машинке индезит