** Description changed:

- After a fresh install on 16.04 the symbolic link
- /usr/share/nzbget/webui/lib/raphael.min.js points a broken link. it
- *should* point to ../../../javascript/raphael/raphael-min.js
+ [Impact] 
+ After a fresh install on 16.04 the symbolic link 
/usr/share/nzbget/webui/lib/raphael.min.js points a broken link. it *should* 
point to ../../../javascript/raphael/raphael-min.js
+ 
+ [Test Case]
+ $ sudo apt update
+ $ sudo apt install nzbget
+ 
+ * Check broken symlink:
+ $ ls -la --color /usr/share/nzbget/webui/lib/raphael.min.js
+ lrwxrwxrwx 1 root root 42 Feb 17  2016 
/usr/share/nzbget/webui/lib/raphael.min.js -> 
../../../javascript/raphael/raphael.min.js
+ 
+ $ ls -laH /usr/share/nzbget/webui/lib/raphael.min.js
+ ls: cannot access '/usr/share/nzbget/webui/lib/raphael.min.js': No such file 
or directory
+ 
+ * Update and check again:
+ $ ls -laH /usr/share/nzbget/webui/lib/raphael.min.js
+ -rw-r--r-- 1 root root 94617 Jul  3 21:08 
/usr/share/nzbget/webui/lib/raphael.min.js
+ 
+ 
+ [Regression Potential] 
+ This changes a filename so that the nzbget symlink points to an actual file. 
For backwards compatibility, we also make the incorrect raphael-min.js file 
available as another symlink, for users who might have changed nzbget to point 
at that. In other words, this updated raphaeljs package provildes both 
raphael-min.js and raphael.min.js.
+ 
+ If someone already created a raphael.min.js file, then installing the
+ updated libjs-raphael would conflict with that and dpkg would
+ complain/fail.
+ 
+ 
+ [Other Info]
+ Not at this time.
+ 
+ 
+ [Original Description]
+ After a fresh install on 16.04 the symbolic link 
/usr/share/nzbget/webui/lib/raphael.min.js points a broken link. it *should* 
point to ../../../javascript/raphael/raphael-min.js
  
  also, the default conf file /usr/share/nzbget/webui/nzbget.conf does not
  have certain required settings set like WebDir and ConfigTemplate
  
  also, this can be used as the systemd file
  /etc/systemd/system/nzbget.service
  
  [Unit]
  Description=NZBGet Daemon
  Documentation=http://nzbget.net/Documentation
  After=network.target
  
  [Service]
  User=media
  Group=media
  Type=forking
  ExecStart=/usr/bin/nzbget -c /home/media/.nzbget.conf -D
  ExecStop=/usr/bin/nzbget -Q
  ExecReload=/usr/bin/nzbget -O
  KillMode=process
  Restart=on-failure
  
  [Install]
  WantedBy=multi-user.target

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576471

Title:
  broken link to raphael.min.js and missing settings in conf file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nzbget/+bug/1576471/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to