amusewiki
amusewiki copied to clipboard
Test installation on Rocky Linux
This was done at the time but after the recent tide of changes and documentation something could be broken.
Guess https://centos.rip is related here... I guess support for CentOS will go away...
It's unclear what's happening to CentOS, but I'd like to have it tested anyway.
Rocky Linux 8.5
NAME="Rocky Linux"
VERSION="8.5 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.5 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
Errors at: ./script/install-texlive.sh step
wrong date
status: fixed
error:
./script/install-texlive.sh: line 47: cd: install-tl-2021*: No such file or directory
fix:
replace year=2021
with year=$(date +%Y)
tlmgr
status: not fixed
error
tlmgr: package log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log
tlmgr: An error has occurred. See above messages. Exiting.
log access:
- /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log
- /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log
How can I fix this issue?
Codes runned before:
root user
dnf install -y epel-release
dnf install -y git nginx perl-local-lib sqlite cgit perl-App-cpanminus fontconfig GraphicsMagick ImageMagick shared-mime-info openssl openssl-devel xapian-core-devel unzip wget libxml2-devel expat-devel policycoreutils setroubleshoot
dnf groupinstall -y 'Development Tools'
mkdir -p /etc/nginx/sites-enabled
cat > /etc/nginx/conf.d/post-amuse.conf <<EOF
include /etc/nginx/sites-enabled/*;
client_max_body_size 8m;
EOF
systemctl enable nginx.service
systemctl start nginx.service
adduser -d /var/www/amusewiki amusewiki
chown -R amusewiki:amusewiki /var/www/amusewiki
amusewiki user
eval `perl -Mlocal::lib`
cpanm Perl::Build
perl-build -j 3 --test 5.24.1 $HOME/amw-perl
git clone https://github.com/melmothx/amusewiki.git
cd amusewikix
./script/install-texlive.sh
^ error at this step
echo 'export PATH=$HOME/amw-perl/bin:$HOME/texlive/2018/bin/x86_64-linux:$PATH' >> $HOME/.bashrc
chmod 755 $HOME
check commands
$ which perl
~/amw-perl/bin/perl
$ which xelatex
/usr/bin/which: no xelatex in (/var/www/amusewiki/amw-perl/bin:/var/www/amusewiki/texlive/2018/bin/x86_64-linux:/var/www/amusewiki/.local/bin:/var/www/amusewiki/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
Rojen Zaman @.***> writes:
Rocky Linux 8.5
NAME="Rocky Linux" VERSION="8.5 (Green Obsidian)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="8.5" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.5 (Green Obsidian)" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:rocky:rocky:8:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky Linux" ROCKY_SUPPORT_PRODUCT_VERSION="8"
Errors at: ./script/install-texlive.sh step
wrong date
status: fixed
error:
./script/install-texlive.sh: line 47: cd: install-tl-2021*: No such file or directory
fix:
replace
year=2021
withyear=$(date +%Y)
No, that's not the correct fix, texlive 2022 is not yet released.
However, pull latest master and try again please.
How so you have texlive/2018 in your PATH?
Btw, I can't see an error in the logs you posted, but please retry with a clean master branch.
tlmgr
status: not fixed
error
tlmgr: package log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log tlmgr: command log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log tlmgr: An error has occurred. See above messages. Exiting.
log access:
- /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log
- /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log
How can I fix this issue?
Codes runned before:
root user
dnf install -y epel-release dnf install -y git nginx perl-local-lib sqlite cgit perl-App-cpanminus fontconfig GraphicsMagick ImageMagick shared-mime-info openssl openssl-devel xapian-core-devel unzip wget libxml2-devel expat-devel policycoreutils setroubleshoot dnf groupinstall -y 'Development Tools' mkdir -p /etc/nginx/sites-enabled cat > /etc/nginx/conf.d/post-amuse.conf <<EOF include /etc/nginx/sites-enabled/*; client_max_body_size 8m; EOF systemctl enable nginx.service systemctl start nginx.service adduser -d /var/www/amusewiki amusewiki chown -R amusewiki:amusewiki /var/www/amusewiki
amusewiki user
eval `perl -Mlocal::lib` cpanm Perl::Build perl-build -j 3 --test 5.24.1 $HOME/amw-perl git clone https://github.com/melmothx/amusewiki.git cd amusewikix ./script/install-texlive.sh ^ error at this step echo 'export PATH=$HOME/amw-perl/bin:$HOME/texlive/2018/bin/x86_64-linux:$PATH' >> $HOME/.bashrc chmod 755 $HOME
check commands
$ which perl ~/amw-perl/bin/perl $ which xelatex /usr/bin/which: no xelatex in (/var/www/amusewiki/amw-perl/bin:/var/www/amusewiki/texlive/2018/bin/x86_64-linux:/var/www/amusewiki/.local/bin:/var/www/amusewiki/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
-- Marco
How so you have texlive/2018 in your PATH?
I copied and pasted from the documentation, it's my fault. I will replace with 2021 texlive