Sorry about that, is a new install, and just never ran into problems before. Reading now Probably just fork over the money for the guru install seeing as I can’t figure out my problems with raided hdds.
Hello,
The oneline (rm -f /srv/rutorrent/home/db/.defaulted.lock || touch /srv/rutorrent/home/db/.smoked.lock && box upgrade && systemctl restart apache2.service
) doesn’t work for me on a fresh ubuntu 16.04 install.
I cleared cache on browser.
I see no error when doing box upgrade. (a small error in bold below)
File .lock is there.
dashboard keeps the defaulted theme.
[14:34 root@qb1 ~] > rm -f /srv/rutorrent/home/db/.defaulted.lock || touch /srv/rutorrent/home/db/.smoked.lock && box upgrade && systemctl restart apache2.service
Updating QuickBox local repository
Cloning into ‘QuickBox’…
remote: Counting objects: 1163, done.
remote: Total 1163 (delta 0), reused 0 (delta 0), pack-reused 1163
Receiving objects: 100% (1163/1163), 141.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (591/591), done.
Checking connectivity… done.
Submodule ‘dashboard’ (https://github.com/QuickBox/quickbox_dashboard.git) registered for path 'dashboard’
Submodule ‘packages’ (https://github.com/QuickBox/quickbox_packages.git) registered for path 'packages’
Submodule ‘rtplugins’ (https://github.com/QuickBox/quickbox_rutorrent-plugins.git) registered for path 'rtplugins’
Submodule ‘rttheme’ (https://github.com/QuickBox/club-QuickBox.git) registered for path 'rttheme’
Submodule ‘rutorrent’ (https://github.com/QuickBox/quickbox_rutorrent.git) registered for path 'rutorrent’
Submodule ‘setup’ (https://github.com/QuickBox/quickbox_setup.git) registered for path 'setup’
Submodule ‘themes’ (https://github.com/QuickBox/quickbox_themes.git) registered for path 'themes’
Cloning into ‘dashboard’…
remote: Counting objects: 2237, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 2237 (delta 30), reused 0 (delta 0), pack-reused 2182
Receiving objects: 100% (2237/2237), 2.67 MiB | 2.08 MiB/s, done.
Resolving deltas: 100% (1335/1335), done.
Checking connectivity… done.
Submodule path ‘dashboard’: checked out 'edd3c9750063123c39ef8f3e929b52108cd95136’
Cloning into ‘packages’…
remote: Counting objects: 3609, done.
remote: Compressing objects: 100% (94/94), done.
remote: Total 3609 (delta 61), reused 0 (delta 0), pack-reused 3515
Receiving objects: 100% (3609/3609), 447.90 KiB | 494.00 KiB/s, done.
Resolving deltas: 100% (2410/2410), done.
Checking connectivity… done.
Submodule path ‘packages’: checked out 'c45ff251e1c120a0f6fd6374a9744fff8e6b4eac’
Cloning into ‘rtplugins’…
remote: Counting objects: 2848, done.
remote: Total 2848 (delta 0), reused 0 (delta 0), pack-reused 2848
Receiving objects: 100% (2848/2848), 2.27 MiB | 1.50 MiB/s, done.
Resolving deltas: 100% (1112/1112), done.
Checking connectivity… done.
Submodule path ‘rtplugins’: checked out 'ac353b3846f211b5ab6cc68d19ad7759a8d6c581’
Cloning into ‘rttheme’…
remote: Counting objects: 157, done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 157 (delta 70), reused 157 (delta 70), pack-reused 0
Receiving objects: 100% (157/157), 176.58 KiB | 0 bytes/s, done.
Resolving deltas: 100% (70/70), done.
Checking connectivity… done.
Submodule path ‘rttheme’: checked out '296fcb7cb5c9406926a7db7e39cb9f71bd477d96’
Cloning into ‘rutorrent’…
remote: Counting objects: 2450, done.
remote: Total 2450 (delta 0), reused 0 (delta 0), pack-reused 2450
Receiving objects: 100% (2450/2450), 1.69 MiB | 1.44 MiB/s, done.
Resolving deltas: 100% (870/870), done.
Checking connectivity… done.
Submodule path ‘rutorrent’: checked out '80172d5cd6d8956a0959aefd0fbaa9070e2ea57a’
Cloning into ‘setup’…
remote: Counting objects: 2390, done.
remote: Total 2390 (delta 0), reused 0 (delta 0), pack-reused 2390
Receiving objects: 100% (2390/2390), 103.12 MiB | 4.34 MiB/s, done.
Resolving deltas: 100% (1383/1383), done.
Checking connectivity… done.
Submodule path ‘setup’: checked out 'ac490428c7018c623e4a63bea21a29c862c6d047’
Cloning into ‘themes’…
remote: Counting objects: 543, done.
remote: Compressing objects: 100% (489/489), done.
remote: Total 543 (delta 105), reused 475 (delta 40), pack-reused 0
Receiving objects: 100% (543/543), 2.15 MiB | 1.72 MiB/s, done.
Resolving deltas: 100% (105/105), done.
Checking connectivity… done.
Submodule path ‘themes’: checked out '95cfc8cb260f998f76e7df18d1b51693902ba57b’
Submodule ‘defaulted’ (https://github.com/QuickBox/quickbox_theme_defaulted.git) registered for path 'defaulted’
Submodule ‘smoked’ (https://github.com/QuickBox/quickbox_theme_smoked.git) registered for path 'smoked’
Cloning into ‘defaulted’…
remote: Counting objects: 445, done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 445 (delta 55), reused 425 (delta 38), pack-reused 0
Receiving objects: 100% (445/445), 2.09 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (55/55), done.
Checking connectivity… done.
Submodule path ‘themes/defaulted’: checked out '3a1d10b24d7c919d0289f6c8bfc8d1dad085bfba’
Cloning into ‘smoked’…
remote: Counting objects: 473, done.
remote: Compressing objects: 100% (397/397), done.
remote: Total 473 (delta 71), reused 463 (delta 61), pack-reused 0
Receiving objects: 100% (473/473), 2.18 MiB | 3.01 MiB/s, done.
Resolving deltas: 100% (71/71), done.
Checking connectivity… done.
Submodule path ‘themes/smoked’: checked out 'b2e7b2daf2aaf4faeaeb447ab85cd685ef609503’
Entering 'dashboard’
HEAD is now at edd3c97 Merge pull request #5 from tomcdj71/Patch-LinkMenus
Entering 'packages’
HEAD is now at c45ff25 [critical] fix botched paths on updater causing QuickBox to remove itself
Entering 'rtplugins’
HEAD is now at ac353b3 small copyright edit - year bump
Entering 'rttheme’
HEAD is now at 296fcb7 updated theme readme
Entering 'rutorrent’
HEAD is now at 80172d5 Merged v2.4.8 into master
Entering 'setup’
HEAD is now at ac49042 Merged branch development into master
Entering 'themes’
HEAD is now at 95cfc8c Updated submodule defaulted
Entering 'dashboard’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'packages’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'rtplugins’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'rttheme’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'rutorrent’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'setup’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'themes’
Switched to branch 'master’
Your branch is up-to-date with ‘origin/master’.
Entering 'dashboard’
Already up-to-date.
Entering 'packages’
Already up-to-date.
Entering 'rtplugins’
Already up-to-date.
Entering 'rttheme’
Already up-to-date.
Entering 'rutorrent’
Already up-to-date.
Entering 'setup’
Already up-to-date.
Entering 'themes’
Already up-to-date.
/root
Upgrading QuickBox … This may take a moment
bash: /etc/QuickBox/packages/system/updateQuickBox: No such file or directory
Cloning into ‘/etc/QuickBox’…
remote: Counting objects: 1163, done.
remote: Total 1163 (delta 0), reused 0 (delta 0), pack-reused 1163
Receiving objects: 100% (1163/1163), 141.07 KiB | 0 bytes/s, done.
Resolving deltas: 100% (591/591), done.
Checking connectivity… done.
Submodule ‘dashboard’ (https://github.com/QuickBox/quickbox_dashboard.git) registered for path 'dashboard’
Submodule ‘packages’ (https://github.com/QuickBox/quickbox_packages.git) registered for path 'packages’
Submodule ‘rtplugins’ (https://github.com/QuickBox/quickbox_rutorrent-plugins.git) registered for path 'rtplugins’
Submodule ‘rttheme’ (https://github.com/QuickBox/club-QuickBox.git) registered for path 'rttheme’
Submodule ‘rutorrent’ (https://github.com/QuickBox/quickbox_rutorrent.git) registered for path 'rutorrent’
Submodule ‘setup’ (https://github.com/QuickBox/quickbox_setup.git) registered for path 'setup’
Submodule ‘themes’ (https://github.com/QuickBox/quickbox_themes.git) registered for path 'themes’
Cloning into ‘dashboard’…
remote: Counting objects: 2237, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 2237 (delta 30), reused 0 (delta 0), pack-reused 2182
Receiving objects: 100% (2237/2237), 2.67 MiB | 1.97 MiB/s, done.
Resolving deltas: 100% (1335/1335), done.
Checking connectivity… done.
Submodule path ‘dashboard’: checked out 'edd3c9750063123c39ef8f3e929b52108cd95136’
Cloning into ‘packages’…
remote: Counting objects: 3609, done.
remote: Compressing objects: 100% (94/94), done.
remote: Total 3609 (delta 61), reused 0 (delta 0), pack-reused 3515
Receiving objects: 100% (3609/3609), 447.90 KiB | 634.00 KiB/s, done.
Resolving deltas: 100% (2410/2410), done.
Checking connectivity… done.
Submodule path ‘packages’: checked out 'c45ff251e1c120a0f6fd6374a9744fff8e6b4eac’
Cloning into ‘rtplugins’…
remote: Counting objects: 2848, done.
remote: Total 2848 (delta 0), reused 0 (delta 0), pack-reused 2848
Receiving objects: 100% (2848/2848), 2.27 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (1112/1112), done.
Checking connectivity… done.
Submodule path ‘rtplugins’: checked out 'ac353b3846f211b5ab6cc68d19ad7759a8d6c581’
Cloning into ‘rttheme’…
remote: Counting objects: 157, done.
remote: Compressing objects: 100% (85/85), done.
remote: Total 157 (delta 70), reused 157 (delta 70), pack-reused 0
Receiving objects: 100% (157/157), 176.58 KiB | 0 bytes/s, done.
Resolving deltas: 100% (70/70), done.
Checking connectivity… done.
Submodule path ‘rttheme’: checked out '296fcb7cb5c9406926a7db7e39cb9f71bd477d96’
Cloning into ‘rutorrent’…
remote: Counting objects: 2450, done.
remote: Total 2450 (delta 0), reused 0 (delta 0), pack-reused 2450
Receiving objects: 100% (2450/2450), 1.69 MiB | 1.87 MiB/s, done.
Resolving deltas: 100% (870/870), done.
Checking connectivity… done.
Submodule path ‘rutorrent’: checked out '80172d5cd6d8956a0959aefd0fbaa9070e2ea57a’
Cloning into ‘setup’…
remote: Counting objects: 2390, done.
remote: Total 2390 (delta 0), reused 0 (delta 0), pack-reused 2390
Receiving objects: 100% (2390/2390), 103.12 MiB | 6.89 MiB/s, done.
Resolving deltas: 100% (1383/1383), done.
Checking connectivity… done.
Submodule path ‘setup’: checked out 'ac490428c7018c623e4a63bea21a29c862c6d047’
Cloning into ‘themes’…
remote: Counting objects: 543, done.
remote: Compressing objects: 100% (489/489), done.
remote: Total 543 (delta 105), reused 475 (delta 40), pack-reused 0
Receiving objects: 100% (543/543), 2.15 MiB | 2.84 MiB/s, done.
Resolving deltas: 100% (105/105), done.
Checking connectivity… done.
Submodule path ‘themes’: checked out '95cfc8cb260f998f76e7df18d1b51693902ba57b’
Submodule ‘defaulted’ (https://github.com/QuickBox/quickbox_theme_defaulted.git) registered for path 'defaulted’
Submodule ‘smoked’ (https://github.com/QuickBox/quickbox_theme_smoked.git) registered for path 'smoked’
Cloning into ‘defaulted’…
remote: Counting objects: 445, done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 445 (delta 55), reused 425 (delta 38), pack-reused 0
Receiving objects: 100% (445/445), 2.09 MiB | 2.57 MiB/s, done.
Resolving deltas: 100% (55/55), done.
Checking connectivity… done.
Submodule path ‘themes/defaulted’: checked out '3a1d10b24d7c919d0289f6c8bfc8d1dad085bfba’
Cloning into ‘smoked’…
remote: Counting objects: 473, done.
remote: Compressing objects: 100% (397/397), done.
remote: Total 473 (delta 71), reused 463 (delta 61), pack-reused 0
Receiving objects: 100% (473/473), 2.18 MiB | 3.01 MiB/s, done.
Resolving deltas: 100% (71/71), done.
Checking connectivity… done.
Submodule path ‘themes/smoked’: checked out ‘b2e7b2daf2aaf4faeaeb447ab85cd685ef609503’
I updated but still I get this error
Close this dialog box to refresh your browser
Pulling QuickBox Ecosystem …
From https://github.com/QuickBox/QuickBox
d3158c3…2f3003e master -> origin/master
fatal: Not a git repository: /root/QuickBox/.git/modules/packages
quickbox_setup :: fatal: Not a git repository: /root/QuickBox/.git/modules/setup
quickbox_rutorrent :: fatal: Not a git repository: /root/QuickBox/.git/modules/rutorrent
quickbox_rutorrent-plugins :: fatal: Not a git repository: /root/QuickBox/.git/modules/rtplugins
quickbox_packages :: fatal: Not a git repository: /root/QuickBox/.git/modules/packages
quickbox_dashboard :: fatal: Not a git repository: /root/QuickBox/.git/modules/dashboard
club-QuickBox :: fatal: Not a git repository: /root/QuickBox/.git/modules/rttheme
Checking locks and adding if necessary …
Checking if cron services should be uninstalled and taking appropriate action …
Updating QuickBox System Commands & Packages …
Updating the useradd skeleton directories …
Updating mktorrent if necessary …
Checking apache aliases …
Updating the rutorrent directory …
Updating all rutorrent plugins …
Updating the QuickBox Dashboard …
Updating club-QuickBox ruTorrent Theme …
Updating the QuickBox Sudoers template …
Adjusting permissions …
[QuickBox] Seedbox & GUI Update Completed !
An update was released earlier that addressed this issue and it was marked as critical. Here is what you can do if you updated during this period.
rm -rf /etc/QuickBox
git clone --recursive https://github.com/QuickBox/QuickBox /etc/QuickBox
then run the following:
bash /etc/QuickBox/packages/system/updateQuickBox
Now finally run the box upgrade
command and this should address and fix all issues from this past update.
Here are the two commits that address this error.
https://github.com/QuickBox/quickbox_packages/commit/c45ff251e1c120a0f6fd6374a9744fff8e6b4eac
https://github.com/QuickBox/quickbox_packages/commit/84bdafab6eee1a4d41016aa539043631e1dcc50d
Thank you I just did that
How do we tell if we need to run that fix?
Did the upgrade last week, although I am not sure what day it was would it break anything if we ran the fix?
no the fix will not break anything.
and you would know if it was broke XD its really really easy to see
I am getting
fatal: destination path ‘/etc/QuickBox’ already exists and is not an empty directory.
after box upgrade runs it seems, i am pasting the one liner command in first post, just did the steps from this post earlier today https://quickbox.io/qb-source-code-is-moving-to-github/
seems error is unrelated to this theme but to the updating of the repo oops. get the error regardless from box upgrade, although clicking update quickbox on my homepage doesnt give the error
Are you removing the /etc/QuickBox first as I previously suggested? If so, that error will not occur.
JMSolo, i did those 3 commands you listed plus box upgrade but get the same error
fatal: destination path ‘/etc/QuickBox’ already exists and is not an empty directory.
Will you send a PM my way with your server details as I cannot confirm this on several machines. I’ll look into this quickly for you.
@late I just ran those commands:
bash /etc/QuickBox/packages/system/updateQuickBox
followed by box upgrade
There were zero issues.
@JMSolo i dont know how that happens for you, it takes like 3 seconds at the end then the error pops up for me. still getting the error.
Where are you getting the error? Also, you only need to run box upgrade
or update from your dashboard. There is no need to run those commands over and over, that was simply to address a potential issue.
when i run the command to add the theme in ssh it gives me the error
I am also getting the error
fatal: destination path ‘/etc/QuickBox’ already exists and is not an empty directory.
It happens after running box upgrade
Example
Order of commands ran
rm -rf /etc/QuickBox
git clone --recursive https://github.com/QuickBox/QuickBox /etc/QuickBox
bash /etc/QuickBox/packages/system/updateQuickBox
then box upgrade
It also happens when trying to switch to the theme*
It also seems like maybe some of the smoked settings made it through but others didn’t
Picture
Was it necessary for you to run those commands as these are only if it is of absolutely necessity? I’m not sure how you guys are getting errors after those commands as I have now had this report from three separate users, logged into all three machines, ran the commands and had no error output. If you like @hyd, please shoot me a PM with your credentials and I will login and look.
im just trying to run
rm -f /srv/rutorrent/home/db/.defaulted.lock || touch /srv/rutorrent/home/db/.smoked.lock && box upgrade && systemctl restart apache2.service
but the box upgrade command is what is returning the error
@late, you’re on the ‘Smoked’ theme now. @Hyd, try this method below instead. I am going to update the OP to reflect this.
Tried this instead:
rm -f /srv/rutorrent/home/db/.defaulted.lock && printf "" > /srv/rutorrent/home/db/.smoked.lock && box upgrade
It’s how @Reynald piped the requests… this isn’t Oracle
Also, that last error… it’s moot… ignore it. I’ll gag it so nobody sees it. Your QuickBox updates regardless. The last error you simple is a simple check to see if the directory exists or not. When it does, it is informing the updater that the path is there… now stop.