Package Details: rstudio-server-bin 2021.09.0_351-1

Git Clone URL: https://aur.archlinux.org/rstudio-server-bin.git (read-only, click to copy)
Package Base: rstudio-server-bin
Description: A integrated development environment (IDE) for R (binary version from RStudio official website)
Upstream URL: http://www.rstudio.org/
Keywords: ide r rstudio server
Licenses: GPL
Conflicts: rstudio-server, rstudio-server-git
Provides: rstudio-server=2021.09.0_351
Submitter: familia
Maintainer: bluerider
Last Packager: bluerider
Votes: 14
Popularity: 0.36
First Submitted: 2015-07-30 13:06
Last Updated: 2021-10-08 12:21

Latest Comments

1 2 3 Next › Last »

asparkov commented on 2021-10-19 17:09

as pointed by @arslonga postgresql-libs should be added as dependency, on a fresh arch install rstudio-server fails to start because libpq.so.5. is missing.

mehrad commented on 2021-10-08 14:19

@bluerider yes it worked!!

sudo useradd --system rstudio-server

and now everything is clean. I checked with:

sudo rstudio-server verify-installation
systemctl start rstudio-server.service

Would you please patch the PKGBUILD to also check for existence of such user using id -u "rstudio-server" and if not creating it.

bluerider commented on 2021-10-08 13:39

@mehrad Can you add a rstudio-server user to your Linux machine?

mehrad commented on 2021-10-08 13:10

@petya No I'm still struggling with it. In the meanwhile I am using a singularity container until @bluerider or someone from the community can help us with this situation.

Petya commented on 2021-10-07 17:29

@mehrad Did you ever figure out what caused your issue with [description: User not found., user-value: ]? I have the same issue.

mehrad commented on 2021-09-22 11:39

I get the following error and don't know how to solve it. Any help is much appreciated:

rstudio-server verify-installation

22 Sep 2021 11:32:20 [rserver] ERROR Could not change permissions for specified 'server-data-dir' - the directory (/var/run/rstudio-server) must be writeable by all users and have the sticky bit set; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:661

22 Sep 2021 11:32:20 [rserver] ERROR system error 1 (Operation not permitted) [path: /var/run/rstudio-server]; OCCURRED AT rstudio::core::Error rstudio::core::{anonymous}::changeFileModeImpl(const string&, mode_t) src/cpp/shared_core/FilePath.cpp:311; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:662

I have tried the following and it didn't help:

cd /var/run
sudo chmod -R 775 rstudio-server
sudo chown -R rstudio:rstudio rstudio-server
sudo chmod +t rstudio-server

Update: After reading some forums I ended with running the verify-installation with sudo (which I'm not comfortable with):

sudo rstudio-server verify-installation

22 Sep 2021 11:59:10 [rserver] WARNING Running as root user is not recommended!; LOGGED FROM: virtual rstudio::core::ProgramStatus rstudio::server::Options::read(int, char* const*, std::ostream&) src/cpp/server/ServerOptions.cpp:275

22 Sep 2021 11:59:10 [rserver] ERROR system error 2 (No such file or directory) [description: User not found., user-value: ]; OCCURRED AT rstudio::core::Error rstudio::core::system::User::Impl::populateUser(rstudio::core::system::User::Impl::GetPasswdFunc<T>&, T) [with T = const char* rstudio::core::system::User::Impl::GetPasswdFunc<T> = std::function<int(const char*, passwd*, char*, long unsigned int, passwd**)>] src/cpp/shared_core/system/User.cpp:68; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:625

Based on [description: User not found., user-value: ] it seems that some config file issue (which I don't have any for Rstudio server but I have Rstudio desktop installed (rstudio-desktop-bin AUR). I have checked that a user named rstudio do exist in the /etc/passwd.

bluerider commented on 2021-08-30 14:13

@ggranga Just updated to the most recent version. Sorry for the delay.

ggranga commented on 2021-08-27 18:44

This package is out of date since 3 months, please update or disown.

maximtrp commented on 2021-07-06 13:38

PKGBUILD file for version 1.4.1717.

# Previous Maintainer: Peter Reschenhofer < peterreschenhofer at gmail dot com >
# Current Maintainer : Mark Lee <mark@markelee.com>
# Contributor: Familia < carlosfamilia at gmail dot com >
pkgname=rstudio-server-bin
pkgver=1.4.1717
pkgrel=1
pkgdesc="A integrated development environment (IDE) for R (binary version from RStudio official website)"
arch=('x86_64')
license=('GPL')
url="http://www.rstudio.org/"
depends=('r>=3.0.1' 'glibc>=2.7' 'libedit' 'psmisc' 'openssl-1.0')
conflicts=('rstudio-server' 'rstudio-server-git')
sha256sums=('ce2c6d5423823716bbd6c2d819812ed98b6ab3ea96bcfdbc6d310fd1c1286b17'
            '24b0545aa2a576c7d7480c0ef77d7641e2ebaadae856fd2a18f57871bd25fd88'
            '993a3096c2b113e6800f2abbd5d4233ebf1a97eef423990d3187d665d3490b92')
provides=("rstudio-server=${pkgver}")
#options=(!strip)
source=(#"https://download2.rstudio.org/server/debian9/x86_64/rstudio-server-${pkgver}-amd64.deb"
        "https://download2.rstudio.org/server/bionic/amd64/rstudio-server-${pkgver}-amd64.deb"
        "rstudio-server.service"
        "rstudio")
install="${pkgname}".install

package() {
    msg "Converting debian package..."

    cd "${srcdir}"
    #tar zxpf data.tar.xz -C "${pkgdir}"
    tar xf data.tar.xz -C "${pkgdir}"
    chmod 755 $(find ${pkgdir}/usr -type d)

    install -m755 -d "${pkgdir}/usr/bin"
    install -m755 -d "${pkgdir}/etc/rstudio"
    install -m644 -D "rstudio-server.service" "${pkgdir}/etc/systemd/system/rstudio-server.service"
    mkdir -p "${pkgdir}/etc/pam.d"
    install -m644 -D "rstudio" "${pkgdir}/etc/pam.d/"
}

arslonga commented on 2021-05-06 09:02

https://archlinux.org/packages/extra/x86_64/postgresql-libs/ should be added as dependency, on a fresh arch install rstudio-server fails to start because libpq.so.5. is missing.