Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upgrade discord #20

Closed
Mubelotix opened this issue May 18, 2024 · 13 comments
Closed

Can't upgrade discord #20

Mubelotix opened this issue May 18, 2024 · 13 comments
Assignees

Comments

@Mubelotix
Copy link

The PPA worked fine for months but since the downtime, I havn't been able to upgrade discord on any of my machines. I'm pretty sure I'm doing everything right. Is the server broken?

@Javinator9889
Copy link
Owner

What do you mean by "cannot upgrade"? Are you having any error? More info needed

@Mubelotix
Copy link
Author

No error, that's why I'm wondering if this could be serverside

mubelotix@anon:~$ sudo apt update && sudo apt upgrade
[sudo] password for mubelotix: 
Hit:1 http://fr.archive.ubuntu.com/ubuntu mantic InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu mantic-updates InRelease                                                                                                                    
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease                                                                                                                 
Hit:4 https://download.docker.com/linux/ubuntu mantic InRelease                                                                                                                       
Hit:5 http://security.ubuntu.com/ubuntu mantic-security InRelease                                                                                                                     
Hit:6 http://fr.archive.ubuntu.com/ubuntu mantic-backports InRelease                                                                                                                  
Get:7 https://packages.microsoft.com/repos/code stable InRelease [3 590 B]                                      
Hit:8 https://updates.signal.org/desktop/apt xenial InRelease                                              
Hit:9 https://packages.element.io/debian default InRelease          
Hit:10 https://ppa.javinator9889.com all InRelease
Fetched 3 590 B in 1s (3 743 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libwpe-1.0-1 libwpebackend-fdo-1.0-1 linux-headers-6.5.0-26 linux-headers-6.5.0-26-generic linux-headers-6.5.0-27 linux-headers-6.5.0-27-generic linux-image-6.5.0-26-generic
  linux-image-6.5.0-27-generic linux-modules-6.5.0-26-generic linux-modules-6.5.0-27-generic linux-modules-extra-6.5.0-26-generic linux-modules-extra-6.5.0-27-generic
  linux-tools-6.5.0-26 linux-tools-6.5.0-26-generic linux-tools-6.5.0-27 linux-tools-6.5.0-27-generic nvidia-firmware-535-535.161.07
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

image

Thank you for your quick reply

@Mubelotix
Copy link
Author

I also tried uninstalling and reinstalling, but it keeps fetching an old version from your server

@hugosxnchez
Copy link

I experienced the same issue, it fetches 0.0.53 as latest version, while latest release is 0.0.54

hugo@debian:~$ sudo apt update && sudo apt install discord
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease                                                                                 
Hit:3 http://security.debian.org/debian-security bookworm-security InRelease                                                                  
Hit:4 http://repository.spotify.com stable InRelease                                                                                          
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                 
Hit:6 https://packages.microsoft.com/repos/code stable InRelease                          
Get:7 https://ppa.javinator9889.com all InRelease [1,817 B]         
Hit:8 https://apt.packages.shiftkey.dev/ubuntu any InRelease
Get:9 https://ppa.javinator9889.com all/main amd64 Packages [508 B]
Fetched 2,325 B in 1s (2,815 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  discord
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 101 MB of archives.
After this operation, 250 kB disk space will be freed.
Get:1 https://ppa.javinator9889.com all/main amd64 discord amd64 0.0.53 [101 MB]
Fetched 101 MB in 20s (5,148 kB/s) 

@Javinator9889
Copy link
Owner

I think that was because the latest Discord file was not available at all. I have checked and the server is serving the latest version. Can you double check that it's working now?

I suggest creating a VM from scratch and test it in there, to make sure the behavior still replicates

@Mubelotix
Copy link
Author

image

Still 0.0.53

@hugosxnchez
Copy link

hugosxnchez commented May 21, 2024

Navigating through your PPA I noticed that, even though pool/ folder has the updated version, contents in /dists have not been updated

@enigma9o7
Copy link

enigma9o7 commented May 23, 2024

Still 0.0.53

$ apt policy discord
discord:
  Installed: 0.0.53
  Candidate: 0.0.53
  Version table:
 *** 0.0.53 500
        500 https://ppa.javinator9889.com all/main amd64 Packages
        100 /var/lib/dpkg/status

Pretty sure Hugo knows what's up.

In the meantime put
"SKIP_HOST_UPDATE": true, in ~/.config/discord/settings.json before the last entry, i.e.:

 {
   "IS_MAXIMIZED": true,
   "IS_MINIMIZED": false,
   "MINIMIZE_TO_TRAY": true,
   "SKIP_HOST_UPDATE": true,
   "chromiumSwitches": {}
 }

@Javinator9889
Copy link
Owner

Hello everyone in the thread. I've been out for a while with no Internet connection - on vacation, not as a goose farmer 😉 🦆

I'll take a careful look at it throughout the next few days 😄 . Thank you all for the support, looks like the DB could be corrupted due to the power outage.

@Javinator9889 Javinator9889 self-assigned this May 26, 2024
@lgsmith
Copy link

lgsmith commented Jun 1, 2024

I'm chiming in to say that I have also been using your PPA, and am hoping it'll be back up soon. It appears that others have provided you with the information you need, but if this turns out to be insufficient for you to troubleshoot the issue I'd be happy to try to help as well.

Thanks for solving this silly issue the discord team fabricated for all of us on linux.

@Javinator9889
Copy link
Owner

I have re-generated the /dist directory as @hugosxnchez pointed out. It seems to be working now, at least when running inside a VM. If anyone else can check it would be great!

Sorry for the delay, I've just come back from my honeymoon and I was catching up with all the pending things 🙏🏼

@42lyon
Copy link

42lyon commented Jun 3, 2024

Hi! It worked as expected, thanks ! 🙏

@Mubelotix
Copy link
Author

Mubelotix commented Jun 3, 2024

Hi! It worked as expected, thanks ! 🙏

Why is there a Github account for a computer science school?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants