Snap store is having issues for Spotify. How to resolve?

I am having an issue opening Spotify. Whenever, I type

spotify  

in the terminal I get this message

snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks 

I then type in the terminal, the following commands,

sudo apt purge snapd snap-confine && sudo apt install -y snapd 

Then I reinstall Spotify using snap install spotify This resolves the issue, but only temporarily because when I restart my device, the same issue occurs, and I have to do this process every time I restart. Please suggest a solution.

Snap chart to grid or place a chart in a cell?

Is there a way to snap charts to the grid?

In my spreadsheet, my chart hangs a little below my table, but I would like the chart to expand/contract with the cells on the left.

If this is an easy answer, I assure you I’ve spend a decent amount of time searching Google, the documentation, and the spreadsheets themselves

** Alternative answers are welcome

*** Still looking for an answer to this. Even a definite “not possible” would be helpful at this point

Sample Image: Pie Chart Hangs Below Grid

copy config file from $SNAP to $SNAP_COMMON is not working with classic confinement

As suggested in this “Where can Ubuntu snaps write data?”

I tried Option[1] for my app which is working fine for devmode confinement. But the same is getting failed when i tried to change the confinement form devmode to classing mode. Any reason why this is getting failed for classic confinement. If needed i can share you my code with you which will help you to understand the issue.

Thanks & I appreciate any suggestion here!!

Utils installed using snap unable to write to .bashrc

Question : Is there any way we can allow snap utilities to write to .bashrc?

Below are the steps what I did or tried:

I installed vault using snap in Ubuntu:19.04

snap install vault 

2019-05-26T09:46:49Z INFO Waiting for restart… vault 1.1.1 from Snapcrafters installed

After successful installation I was trying to install vault autocomplete feature using

vault -autocomplete-install 

Which is throwing error as below :

root@vault-server:~# vault -autocomplete-install 

Error executing CLI: 1 error occurred:

*open /root/.bashrc: permission denied

But if I install vault by downloading binary, add soft-link in /usr/bin, and then try to install autocomplete it gets installed successfully and I can see an new entry in ~/.bashrc

complete -C /opt/softwares/vault vault 

FYI : /opt/softwares is the /path/to/dir where I copied my downloaded binary.

Adding info for reference : After installing vault using snap :

which vault 

/snap/bin/vault

ls -lrt /snap/bin/ 

total 1 lrwxrwxrwx 1 root root 13 May 26 09:47 vault -> /usr/bin/snap

ls -lrt /usr/bin/ | grep snap 

lrwxrwxrwx 1 root root ubuntu-core-launcher -> ../lib/snapd/snap-confine

-rwxr-xr-x 1 root root snapfuse

lrwxrwxrwx 1 root root snapctl -> ../lib/snapd/snapctl

-rwxr-xr-x 1 root root snap

ls -lrt /usr/bin/ | grep vault 

Nothing

Broken snap, unable to run

Spotify shows as broken in the snap list

$   snap list Name     Version  Rev   Tracking  Publisher     Notes core     16-2.39  6964  stable    canonical✓    core hiri     1.4.0.5  56    stable    hiri✓         - postman           81    stable    postman-inc✓  broken spotify           35    stable    spotify✓      broken 

I tried:

snap refresh spotify --edge snap restart spotify snap run spotify  

How can I solve and be able to run spotify again.

Download snap “lxd” (10756) from channel “stable” (invalid credentials) when trying to install

Just upgraded from bionic to cosmic. Part of that process migrates from deb lxd to snap lxd. The upgraded succeeded except for the lxd package. I get this error when trying to complete the upgrade or when installing lxd snap using snap command.

snap install lxd error: cannot perform the following tasks: - Download snap "lxd" (10756) from channel "stable" (invalid credentials) 

Why do I get this? What credentials? Where is the snapd error log?

Nextcloud Snap Page Doesn’t Display After Installing Apache2?

I recently installed apache2 (Cannot Start Apache2?) after temporarily disabling nextcloud, performing the installation and then re-enabling nextcloud with sudo snap enable nextcloud.

I can see the Apache default page when I type in my domain address let’s say:X.com.

I’m following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-16-04

in it, it calls for the snap version of nextcloud to be installed (Which I did), and I performed some minor user configuration.

When I type in X.com though, I get the apache page and not the nextcloud page.

The nextcloud page showed up previously when I typed in X.com, but it’s gone after the apache2 install.

What steps would be further required to properly configure Nextcloud from here?

Should the GLIBC version of the system and the one in core in snap match?

In my pc I have Ubuntu 18.04.

ldd --version ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. 

I installed ruby through snap and after also rails. Some gems in rails have native extensions and they build correctly. When I try to launch an app with rails server one gem doesn’t find the right version of GLIBC. This is the message

$  HOME/.gem/bin/gems/bootsnap-1.4.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require': /snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2) - $  HOME/.gem/bin/gems/pg-1.1.4/lib/pg_ext.so (LoadError) 

Probably because in /snap/core/... the libc version is 2.23 and the gem extension compiled against the lib in the system.

Should these versions be kept in sync or is there any way to fix this problem?