Our civilization takes electricity for granted, and electrical devices are used to produce more such devices. We convert other forms of energy into electrical energy via motors (magnet + coil), chemical batteries, and solar panels. Electricity can oxidize/reduce chemicals, which can, for example, turn bauxite ore into elemental aluminum, split sodium chloride, etc. Some of these refined chemicals feed back into the electrical industry, like the use of aluminum wires or various battery formulations.
We know that the Earth is endowed with naturally occurring stuff like magnetic lodestones and elemental copper, which makes it straightforward to create a motor. From there, you can generate electricity, create new permanent magnets via electromagnets, and redox chemicals. However, many useful chemical elements are locked up in oxides, compounds, and minerals in their natural form, so they usually need electricity for purification into a more useful form.
I suspect that to bootstrap an electrical industry, you need some kind of metallic conductor for wires, plus either a permanent magnet (generate voltage through induction) or suitable chemicals for a battery (e.g. copper + zinc + acid). On the other hand, electric eels show that electricity can be generated in biological ways, different from what we do in human industry.
So what are some minimum sets of materials needed to start an electrical industry from scratch?
What conditions could a planet have which would hinder or prevent such from happening?