- Do not render pieces data when torrent data not complete.
Shift, a new web UI - UPDATE 2024.05.09
Shift, a new web UI - UPDATE 2017.04.22
Changelog
Last edited by killemov on Mon Sep 27, 2021 8:06 am, edited 1 time in total.
Re: Shift, a new web UI - UPDATE 2017.04.22
I've followed the instructions but can't get the new UI to run, transmission-web always just renders the old web-ui.
You can see the export path in the daemon is there and the user 'debian-transmission' has ownership of the files
What am I missing here? I've restarted the service several times and rebooted the server itself but no new web interface is ever rendered, just the plain old boring stock web user interface
Code: Select all
USER=debian-transmission
# Added this line into: /etc/init.d/transmission-daemon
export TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
Code: Select all
developer@LINUXFS01:~$ ls /usr/share/transmission/Shift/
base.css prototype.js shift.css shift.json touch.css
index.html README.md shift.js terminal.css
Code: Select all
developer@LINUXFS01:/usr/share/transmission/Shift$ getfacl /usr/share/transmission/Shift/
getfacl: Removing leading '/' from absolute path names
# file: usr/share/transmission/Shift/
# owner: debian-transmission
# group: debian-transmission
user::rwx
group::rwx
other::r-x
Re: Shift, a new web UI - UPDATE 2017.04.22
Does this file exist?:
Then you are running systemd and you need to do the other thing from the opening post.
If not check if there are multiple scripts in /etc/rc* and that you edited the correct one.
Code: Select all
./system/multi-user.target.wants/transmission-daemon.service
If not check if there are multiple scripts in /etc/rc* and that you edited the correct one.
Re: Shift, a new web UI - UPDATE 2017.04.22
Hi, I try to install in Debian client transmission-daemon as follow:
(1) Stop Service
(2) Git Shit
permision is same as default web folder (root ownner)
(3) ADD Environment Variable:
just folow the line: export PATH=, as
(4) Add Environment variable to SERVICE (in my case runs by Systemd process)
add variable:
reload:
(5) Rebbot PC (work after reboot =) )
Also try to add a shift.sh scrit in etc/profile.d:
But not sure if this is really needed at the end, but without add the environment variable in service shift didn't work.
After reboot machine SHIFT web UI works ok.
[edit:] After add environment variable to service all work.
(1) Stop Service
(2) Git Shit
Code: Select all
$ cd /usr/share/transmission/
$ git clone https://github.com/killemov/Shift.git
(3) ADD Environment Variable:
Code: Select all
$ nano /etc/init.d/transmission-deamon
Code: Select all
export PATH="${PATH:+$PATH:}/sbin"
export TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
Code: Select all
$ nano /etc/systemd/system/multi-user.target.wants/transmission-daemon.service
Code: Select all
[Service]
Environment=TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
Code: Select all
$ systemctl daemon-reload
Also try to add a shift.sh scrit in etc/profile.d:
Code: Select all
#!/bin/sh
export TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
After reboot machine SHIFT web UI works ok.
[edit:] After add environment variable to service all work.
Re: Shift, a new web UI - UPDATE 2017.04.22
Hi,
I'm on debian 9 and have same problem.
Previously on debian 8 everthing works fine.
Here are the modifications I've made
But always the same old web interface...
Does someone know what is the problem ?
Thanks in advance.
I'm on debian 9 and have same problem.
Previously on debian 8 everthing works fine.
Here are the modifications I've made
Code: Select all
me@srv ~ $ ls /usr/share/transmission/Shift
base.css images index.html javascript prototype.js README.md shift.css shift.js shift.json style terminal.css touch.css
# Should not be used
me@srv ~ $ ls -l /usr/share/transmission/web
lrwxrwxrwx 1 root root 5 juil. 4 22:41 /usr/share/transmission/web -> Shift
bdr@srv ~ $ ls /usr/share/transmission/web/
base.css images index.html javascript prototype.js README.md shift.css shift.js shift.json style terminal.css touch.css
# Should not be used
me@srv ~ $ grep TRANSMISSION /etc/init.d/transmission-daemon
export TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
me@srv ~ $ grep TRANSMISSION /etc/systemd/system/multi-user.target.wants/transmission-daemon.service
Environment=TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
me@srv ~ $ sudo systemctl daemon-reload
me@srv ~ $ sudo systemctl restart transmission-daemon
Code: Select all
me@srv~ $ sudo -u debian-transmission transmission-daemon -f --log-debug
[...]
[2017-07-07 22:05:17.906] Saved "/etc/transmission-daemon/settings.json" (variant.c:1266)
[2017-07-07 22:05:21.906] Searching for web interface file "/var/lib/transmission-daemon/.local/share/transmission/web/index.html" (platform.c:430)
[2017-07-07 22:05:21.906] Searching for web interface file "/usr/share/transmission/web/index.html" (platform.c:430)
[2017-07-07 22:05:21.906] Blocklist "blocklist.bin" contains 227850 entries (blocklist.c:100)
me@srv ~ $ cat /tmp/test.sh
#!/bin/bash
export TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
echo '---'
env | grep TRANSMISSION -C1
echo '---'
transmission-daemon -f --log-debug
me@srv ~ $ sudo -u debian-transmission /tmp/test.sh
---
TERM=xterm-256color
TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
SHLVL=1
---
[2017-07-07 22:34:22.894] Transmission 2.92 (14714) started (session.c:738)
[2017-07-07 22:34:22.895] Cache Maximum cache size set to 16.00 MiB (1024 blocks) (cache.c:261)
[2017-07-07 22:34:22.895] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:903)
[2017-07-07 22:34:22.895] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1110)
[2017-07-07 22:34:22.895] RPC Server Started listening on 127.0.0.1:9091 (rpc-server.c:780)
[2017-07-07 22:34:22.895] Bound socket 16 to port 64636 on 0.0.0.0 (net.c:388)
[2017-07-07 22:34:22.895] Bound socket 17 to port 64636 on :: (net.c:388)
[2017-07-07 22:34:22.895] Port Forwarding Stopped (port-forwarding.c:180)
[2017-07-07 22:34:22.895] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:84)
[2017-07-07 22:34:22.895] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:89)
[2017-07-07 22:34:22.895] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:95)
[2017-07-07 22:34:22.895] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:100)
[2017-07-07 22:34:22.895] DHT Initializing DHT (tr-dht.c:278)
[2017-07-07 22:34:22.895] DHT Reusing old id (tr-dht.c:307)
[2017-07-07 22:34:22.895] DHT DHT initialized (tr-dht.c:332)
[2017-07-07 22:34:22.895] DHT Bootstrapping from 48 IPv4 nodes (tr-dht.c:156)
[2017-07-07 22:34:22.895] Using settings from "/var/lib/transmission-daemon/.config/transmission-daemon" (daemon.c:528)
[2017-07-07 22:34:22.895] Saved "/etc/transmission-daemon/settings.json" (variant.c:1266)
[2017-07-07 22:34:25.895] Blocklist "blocklist.bin" contains 227850 entries (blocklist.c:100)
Thanks in advance.
Last edited by bl0ndasse on Thu Jul 27, 2017 12:29 pm, edited 1 time in total.
Re: Shift, a new web UI - UPDATE 2017.04.22
The problem is users dist-upgrading Debian and having no clue that the init-system has changed completely and the configuration in /etc/init.d has become obsolete.bl0ndasse wrote:...
Does someone know what is the problem ?
Thanks in advance.
Re: Shift, a new web UI - UPDATE 2017.04.22
killemov, thank you for your answer.
The system having no clue that init-system has changed, but the environment parameter is definied in systemctl configuration too.
Moreover without using any system process launcher, the problem is the same.
The system having no clue that init-system has changed, but the environment parameter is definied in systemctl configuration too.
Code: Select all
me@srv ~ $ grep TRANSMISSION /etc/systemd/system/multi-user.target.wants/transmission-daemon.service
Environment=TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
Code: Select all
me@srv ~ $ cat /tmp/test.sh
#!/bin/bash
export TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
echo '---'
env | grep TRANSMISSION -C1
echo '---'
transmission-daemon -f --log-debug
me@srv ~ $ sudo -u debian-transmission /tmp/test.sh
---
TERM=xterm-256color
TRANSMISSION_WEB_HOME=/usr/share/transmission/Shift
SHLVL=1
---
[...]
# always the same old interface...
Re: Shift, a new web UI - UPDATE 2017.04.22
I hope you never stop updating this
Re: Shift, a new web UI - UPDATE 2015.04.18
Is it possible to change the files location in Shift 0.9.9 / Transmission 2.92 ?killemov wrote:Check https://trac.transmissionbt.com/browser ... c-spec.txt at the end. I will implement the 2.80+ features soon.larsen161 wrote:I see that I can set the download location when adding a torrent. How can I change the location once I've added it? When I go to the details page the downloadDir key value is just a static field. Something that can be changed in the default transmission client.
Re: Shift, a new web UI - UPDATE 2017.04.22
Is this usable with Windows? Or just Linux?
Unsure since it was mentioned somewhere else by someone for windows, but no where else can I find windows references for it, nor can I find the mentioned locations in the guide.
Guess this isn't for windows?
Unsure since it was mentioned somewhere else by someone for windows, but no where else can I find windows references for it, nor can I find the mentioned locations in the guide.
Guess this isn't for windows?
Re: Shift, a new web UI - UPDATE 2017.04.22
It has been a while but expect an update before 2019. Please report issues or request features on the github site. If you, ANY of you people, don't give me any feedback to go on I will just implement whatever I want.powermta wrote:I hope you never stop updating this
The upcoming update will include changing the target root for the payload as a whole.swabeer wrote:Is it possible to change the files location in Shift 0.9.9 / Transmission 2.92 ?
Shift is a web UI. It says so in the titles of all posts in this topic. That means the interface only needs a browser, preferably Firefox, to function. It is just HTML, CSS and JavaScript that communicates with Transmission. That said, it is usually used as the front-end of transmission-daemon that usually runs headless (no native GUI) on a Linux machine. But if you can see the stock web UI served by any Windows build, you can probably configure that to use Shift instead. You should try to get the stock web UI up and running first before you guess another web UI isn't for Windows.miniL wrote:Is this usable with Windows? Or just Linux?
Unsure since it was mentioned somewhere else by someone for windows, but no where else can I find windows references for it, nor can I find the mentioned locations in the guide.
Guess this isn't for windows?
Re: Shift, a new web UI - UPDATE 2017.04.22
Ah yes, assumptions, I should know better than to assume things before more thorough investigation.killemov wrote:Shift is a web UI. It says so in the titles of all posts in this topic. That means the interface only needs a browser, preferably Firefox, to function. It is just HTML, CSS and JavaScript that communicates with Transmission. That said, it is usually used as the front-end of transmission-daemon that usually runs headless (no native GUI) on a Linux machine. But if you can see the stock web UI served by any Windows build, you can probably configure that to use Shift instead. You should try to get the stock web UI up and running first before you guess another web UI isn't for Windows.miniL wrote:Is this usable with Windows? Or just Linux?
Unsure since it was mentioned somewhere else by someone for windows, but no where else can I find windows references for it, nor can I find the mentioned locations in the guide.
Guess this isn't for windows?
However the normal Web UI is already up and running so do not assume it wasn't so before my assumption/question
The guide just got me confused since the locations weren't locations I could find.
Might take another look at it later, for now I just solved my problem by manually adding my trackers to all my old torrents.
Most of the newly added torrents will most likely be good without additional trackers, so I'm unsure for now whether changing things is worth the trouble.
Shift, a new web UI - UPDATE 2018.12.20
Changelog
- Updated to Creative Commons Attribution-ShareAlike 4.0 International License.
- Implemented batch renaming files in a torrent.
- Implemented magnet protocol handler.
- Implemented recycling torrents. (Batch remove + re-add.)
- Implemented setting the style-sheet in the shift configuration page.
- Implemented browser notification levels.
- Implemented copying session, shift and torrent data to clipboard in JSON format.
- Changed processing for added files and URLs.
- Code cleanup.
Shift, a new web UI - UPDATE 2020.08.18
Warning! Shift is currently incompatible with Transmission 3.00 because of a weird and undocumented change in the response message of torrent-get. See RPC-spec The response of torrent-get echoes all the unknown fields of the request with value "0", which is still a valid value. Just ignore like before. This is a VERY BAD development. Please go bug the devs at GitHub.
Changelog (aggregated)
Changelog (aggregated)
- Added keyboard shortcuts for selections.
- Made "Start Now" for torrent actually work.
- Improved URL-parsing.
- Created workaround for not getting styles for canvas for pieces.
- Show proper example of displaying ETA.
- Minor code cleanup.
Re: Shift, a new web UI - UPDATE 2020.08.18
Hi,
How can I sort torrents by "Active"? It doesn't implement yet or I missing something?
Thank you.
How can I sort torrents by "Active"? It doesn't implement yet or I missing something?
Thank you.