App titles and widget boxes within them show twice

back again.
i tried the last two days different guides to manually install this erp-system on a clean “ubuntu 20.04.3 lts”-vm
(1, 2, 3, 4 and yours from karani) combined and varied them, did a clean and a messy (installed/edited everything mentioned), tried different versions/installation for yarn,node…, two different languages in initial frappe setup, different github branches …and so on

install - try out - rollback - repeat! …but never party hard

no party, no fun. that’s it for me, guys. :wave:


this are my final install notes… maybe helpful for someone else

update reboot

apt update && apt upgrade -y && shutdown -r now

----------------snapshot cleaninstall

set LC_ALL (locale) for scripts

export LC_ALL=C.UTF-8

install curl + git (already installed)

sudo apt-get install curl git

install nodesource repo GitHub - nodesource/distributions: NodeSource Node.js Binary Distributions and nodejs

curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs

----------------- OR --------------------

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

close and reopen terminal …nvm use 14 (v16 not supported)

nvm install 14
node -v

You may also need development tools to build native addons:
sudo apt-get install gcc g++ make

install requirements…

sudo apt-get install -y mariadb-server redis-server python3-pip nginx python3-testresources

sudo apt-get install virtualenv
sudo apt-get install libmysqlclient-dev
sudo apt-get install -y wkhtmltopdf

edit mariadb config, add to the bottom, restart service

sudo nano /etc/mysql/my.cnf
[mysqld]
 character-set-client-handshake = FALSE
 character-set-server = utf8mb4
 collation-server = utf8mb4_unicode_ci
 
 [mysql]
 default-character-set = utf8mb4
 sudo service mysql restart

secure mariadb (use default answers)

sudo mysql_secure_installation 

remove unix_socket plugin (for root user) so password is always needed

sudo mysql -u root 
use mysql;
update mysql.user set plugin='' where user='root';
flush privileges;
exit

install the yarn package manager (already installed)

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn

---------------- OR ---------------------

node >16.10 !not supported!

corepack enable

node <16.10

npm i -g corepack

add path to $path at the end of bashrc, for autoload per user and reload

nano ~/.bashrc
export PATH=$PATH:~/.local/bin/
source ~/.bashrc

create a user if you havnt already (in the os installation), and switch

sudo adduser [USER]
sudo usermod -aG sudo [USER]
sudo su - [USER]

install frappe bench cli in home

pip3 install frappe-bench
bench --version

----------------snapshot requirements

create new/first bench instance and site

bench init erpnext
cd erpnext
bench new-site erpnext.local

----------------snapshot beforeerpnext

get erpnext and install as app

bench get-app --branch version-13 erpnext
bench --site erpnext.local install-app erpnext
bench start

misc --------------

sudo bench setup production [USER]
bench --site site1.local enable-scheduler
bench drop-site erpnext.local --no-backup
bench update --reset
nano site_config.json

1 Like